polardbxengine/mysql-test/suite/sys_vars/r/shared_memory_basic.result

22 lines
762 B
Plaintext

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 performance_schema.global_variables where variable_name='shared_memory';
VARIABLE_NAME VARIABLE_VALUE
shared_memory OFF
select * from performance_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