Debian Codegraph @

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

raw
1 #
2 # only global
3 #
4 --replace_result $MYSQLTEST_VARDIR MYSQLTEST_VARDIR
5 select @@global.pid_file;
6 --error ER_INCORRECT_GLOBAL_LOCAL_VAR
7 select @@session.pid_file;
8 --replace_result $MYSQLTEST_VARDIR MYSQLTEST_VARDIR
9 show global variables like 'pid_file';
10 --replace_result $MYSQLTEST_VARDIR MYSQLTEST_VARDIR
11 show session variables like 'pid_file';
12 --disable_warnings
13 --replace_result $MYSQLTEST_VARDIR MYSQLTEST_VARDIR
14 select * from performance_schema.global_variables where variable_name='pid_file';
15 --replace_result $MYSQLTEST_VARDIR MYSQLTEST_VARDIR
16 select * from performance_schema.session_variables where variable_name='pid_file';
17 --enable_warnings
18
19 #
20 # show that it's read-only
21 #
22 --error ER_INCORRECT_GLOBAL_LOCAL_VAR
23 set global pid_file=1;
24 --error ER_INCORRECT_GLOBAL_LOCAL_VAR
25 set session pid_file=1;