Debian Codegraph @

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

raw
1 # ulong readonly
2
3 #
4 # show the global and session values;
5 #
6 select @@global.extra_port;
7 --error ER_INCORRECT_GLOBAL_LOCAL_VAR
8 select @@session.extra_port;
9 show global variables like 'extra_port';
10 show session variables like 'extra_port';
11 select * from information_schema.global_variables where variable_name='extra_port';
12 select * from information_schema.session_variables where variable_name='extra_port';
13
14 #
15 # show that it's read-only
16 #
17 --error ER_INCORRECT_GLOBAL_LOCAL_VAR
18 set global extra_port=1;
19 --error ER_INCORRECT_GLOBAL_LOCAL_VAR
20 set session extra_port=1;
21