Debian Codegraph @

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

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