Debian Codegraph @

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

raw
1 #
2 # exists as global
3 #
4
5 # just to show that global.persist_sensitive_variables_in_plaintext exists
6 select @@global.persist_sensitive_variables_in_plaintext;
7
8 --replace_column 2 #
9 show global variables like 'persist_sensitive_variables_in_plaintext';
10
11 --replace_column 2 #
12 --disable_warnings
13 select * from performance_schema.global_variables where variable_name="persist_sensitive_variables_in_plaintext";
14 --enable_warnings
15
16 --error ER_INCORRECT_GLOBAL_LOCAL_VAR
17 set @@global.persist_sensitive_variables_in_plaintext="1";
18 --error ER_INCORRECT_GLOBAL_LOCAL_VAR
19 set @@global.persist_sensitive_variables_in_plaintext=1;
20 --error ER_INCORRECT_GLOBAL_LOCAL_VAR
21 set @@global.persist_sensitive_variables_in_plaintext=1.1;
22 --error ER_INCORRECT_GLOBAL_LOCAL_VAR
23 set @@global.persist_sensitive_variables_in_plaintext=1e1;
24