| 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 |