#
# 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';
--disable_warnings
select * from information_schema.global_variables where variable_name='skip_external_locking';
select * from information_schema.session_variables where variable_name='skip_external_locking';
--enable_warnings

#
# 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;
