blob: 97313b7f6083f58dbd352bf33f29ead121c6a452 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--source include/not_windows.inc
#
# only global
#
select @@global.locked_in_memory;
--error ER_INCORRECT_GLOBAL_LOCAL_VAR
select @@session.locked_in_memory;
show global variables like 'locked_in_memory';
show session variables like 'locked_in_memory';
select * from information_schema.global_variables where variable_name='locked_in_memory';
select * from information_schema.session_variables where variable_name='locked_in_memory';
#
# show that it's read-only
#
--error ER_INCORRECT_GLOBAL_LOCAL_VAR
set global locked_in_memory=1;
--error ER_INCORRECT_GLOBAL_LOCAL_VAR
set session locked_in_memory=1;
|