Debian Codegraph @

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

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