Debian Codegraph @

mysql-test/suite/sys_vars/t/skip_show_database_basic.test

raw
1 #
2 # only global
3 #
4 select @@global.skip_show_database;
5 --error ER_INCORRECT_GLOBAL_LOCAL_VAR
6 select @@session.skip_show_database;
7 show global variables like 'skip_show_database';
8 show session variables like 'skip_show_database';
9 select * from information_schema.global_variables where variable_name='skip_show_database';
10 select * from information_schema.session_variables where variable_name='skip_show_database';
11
12 #
13 # show that it's read-only
14 #
15 --error ER_INCORRECT_GLOBAL_LOCAL_VAR
16 set global skip_show_database=1;
17 --error ER_INCORRECT_GLOBAL_LOCAL_VAR
18 set session skip_show_database=1;