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