Debian Codegraph @

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

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