summaryrefslogtreecommitdiff
path: root/mysql-test/suite/sys_vars/r/shared_memory_basic.result
blob: ab671af610c8e8bb109fb97901d00ca395e1ca52 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
select @@global.shared_memory;
@@global.shared_memory
0
select @@session.shared_memory;
ERROR HY000: Variable 'shared_memory' is a GLOBAL variable
show global variables like 'shared_memory';
Variable_name	Value
shared_memory	OFF
show session variables like 'shared_memory';
Variable_name	Value
shared_memory	OFF
select * from information_schema.global_variables where variable_name='shared_memory';
VARIABLE_NAME	VARIABLE_VALUE
SHARED_MEMORY	OFF
select * from information_schema.session_variables where variable_name='shared_memory';
VARIABLE_NAME	VARIABLE_VALUE
SHARED_MEMORY	OFF
set global shared_memory=1;
ERROR HY000: Variable 'shared_memory' is a read only variable
set session shared_memory=1;
ERROR HY000: Variable 'shared_memory' is a read only variable