summaryrefslogtreecommitdiff
path: root/mysql-test/suite/sys_vars/t/skip_external_locking_basic.test
blob: 67b58ab8ff4885852287784e6cc3720335dab85d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#
# only global
#
select @@global.skip_external_locking;
--error ER_INCORRECT_GLOBAL_LOCAL_VAR
select @@session.skip_external_locking;
show global variables like 'skip_external_locking';
show session variables like 'skip_external_locking';
select * from information_schema.global_variables where variable_name='skip_external_locking';
select * from information_schema.session_variables where variable_name='skip_external_locking';

#
# show that it's read-only
#
--error ER_INCORRECT_GLOBAL_LOCAL_VAR
set global skip_external_locking=1;
--error ER_INCORRECT_GLOBAL_LOCAL_VAR
set session skip_external_locking=1;