Debian Codegraph @

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

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