Current Path : /home/usr.opt/mysql57/mysql-test/suite/sys_vars/r/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //home/usr.opt/mysql57/mysql-test/suite/sys_vars/r/show_compatibility_56_basic.result |
select @@global.show_compatibility_56; @@global.show_compatibility_56 1 select @@session.show_compatibility_56; ERROR HY000: Variable 'show_compatibility_56' is a GLOBAL variable show global variables like 'show_compatibility_56'; Variable_name Value show_compatibility_56 ON show session variables like 'show_compatibility_56'; Variable_name Value show_compatibility_56 ON select * from information_schema.global_variables where variable_name='show_compatibility_56'; VARIABLE_NAME VARIABLE_VALUE SHOW_COMPATIBILITY_56 ON select * from information_schema.session_variables where variable_name='show_compatibility_56'; VARIABLE_NAME VARIABLE_VALUE SHOW_COMPATIBILITY_56 ON set global show_compatibility_56=1; show variables like "show_compatibility_56"; Variable_name Value show_compatibility_56 ON set global show_compatibility_56=0; show variables like "show_compatibility_56"; Variable_name Value show_compatibility_56 OFF set global show_compatibility_56=ON; show variables like "show_compatibility_56"; Variable_name Value show_compatibility_56 ON set global show_compatibility_56=OFF; show variables like "show_compatibility_56"; Variable_name Value show_compatibility_56 OFF set global show_compatibility_56=TRUE; show variables like "show_compatibility_56"; Variable_name Value show_compatibility_56 ON set global show_compatibility_56=FALSE; show variables like "show_compatibility_56"; Variable_name Value show_compatibility_56 OFF set global show_compatibility_56=999; ERROR 42000: Variable 'show_compatibility_56' can't be set to the value of '999' set session show_compatibility_56=1; ERROR HY000: Variable 'show_compatibility_56' is a GLOBAL variable and should be set with SET GLOBAL