| 1 |
select @@global.old; |
| 2 |
@@global.old |
| 3 |
0 |
| 4 |
Warnings: |
| 5 |
Warning 1287 '@@old' is deprecated and will be removed in a future release. |
| 6 |
select @@session.old; |
| 7 |
ERROR HY000: Variable 'old' is a GLOBAL variable |
| 8 |
show global variables like 'old'; |
| 9 |
Variable_name Value |
| 10 |
old OFF |
| 11 |
show session variables like 'old'; |
| 12 |
Variable_name Value |
| 13 |
old OFF |
| 14 |
select * from performance_schema.global_variables where variable_name='old'; |
| 15 |
VARIABLE_NAME VARIABLE_VALUE |
| 16 |
old OFF |
| 17 |
select * from performance_schema.session_variables where variable_name='old'; |
| 18 |
VARIABLE_NAME VARIABLE_VALUE |
| 19 |
old OFF |
| 20 |
set global old=1; |
| 21 |
ERROR HY000: Variable 'old' is a read only variable |
| 22 |
set session old=1; |
| 23 |
ERROR HY000: Variable 'old' is a read only variable |