~ubuntu-branches/ubuntu/trusty/mysql-5.6/trusty

« back to all changes in this revision

Viewing changes to mysql-test/suite/sys_vars/t/disconnect_on_expired_password_basic.test

  • Committer: Package Import Robot
  • Author(s): James Page
  • Date: 2014-02-12 11:54:27 UTC
  • Revision ID: package-import@ubuntu.com-20140212115427-oq6tfsqxl1wuwehi
Tags: upstream-5.6.15
ImportĀ upstreamĀ versionĀ 5.6.15

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
SELECT @@GLOBAL.disconnect_on_expired_password;
 
2
--echo 1 Expected
 
3
--error ER_INCORRECT_GLOBAL_LOCAL_VAR
 
4
SET @@GLOBAL.disconnect_on_expired_password=0;
 
5
--echo Expected error 'Read only variable'
 
6
SELECT @@GLOBAL.disconnect_on_expired_password;
 
7
--echo 1 Expected
 
8
SELECT @@disconnect_on_expired_password = @@GLOBAL.disconnect_on_expired_password;
 
9
--echo 1 Expected
 
10
--Error ER_INCORRECT_GLOBAL_LOCAL_VAR
 
11
SELECT COUNT(@@local.disconnect_on_expired_password);
 
12
--echo Expected error 'Variable is a GLOBAL variable'
 
13
--Error ER_INCORRECT_GLOBAL_LOCAL_VAR
 
14
SELECT COUNT(@@SESSION.disconnect_on_expired_password);
 
15
--echo Expected error 'Variable is a GLOBAL variable'
 
16
SELECT @@GLOBAL.disconnect_on_expired_password;
 
17
--echo 1 Expected