Current Path : /home/usr.opt/mysql57/mysql-test/suite/sys_vars/t/ |
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/t/skip_show_database_basic.test |
# # only global # select @@global.skip_show_database; --error ER_INCORRECT_GLOBAL_LOCAL_VAR select @@session.skip_show_database; show global variables like 'skip_show_database'; show session variables like 'skip_show_database'; --disable_warnings select * from information_schema.global_variables where variable_name='skip_show_database'; select * from information_schema.session_variables where variable_name='skip_show_database'; --enable_warnings # # show that it's read-only # --error ER_INCORRECT_GLOBAL_LOCAL_VAR set global skip_show_database=1; --error ER_INCORRECT_GLOBAL_LOCAL_VAR set session skip_show_database=1;