mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
WL#2360 Performance schema
Part IV: sql instrumentation
This commit is contained in:
23
mysql-test/suite/sys_vars/r/performance_schema_basic.result
Normal file
23
mysql-test/suite/sys_vars/r/performance_schema_basic.result
Normal file
@ -0,0 +1,23 @@
|
||||
select @@global.performance_schema;
|
||||
@@global.performance_schema
|
||||
1
|
||||
select @@session.performance_schema;
|
||||
ERROR HY000: Variable 'performance_schema' is a GLOBAL variable
|
||||
show global variables like 'performance_schema';
|
||||
Variable_name Value
|
||||
performance_schema ON
|
||||
show session variables like 'performance_schema';
|
||||
Variable_name Value
|
||||
performance_schema ON
|
||||
select * from information_schema.global_variables
|
||||
where variable_name='performance_schema';
|
||||
VARIABLE_NAME VARIABLE_VALUE
|
||||
PERFORMANCE_SCHEMA ON
|
||||
select * from information_schema.session_variables
|
||||
where variable_name='performance_schema';
|
||||
VARIABLE_NAME VARIABLE_VALUE
|
||||
PERFORMANCE_SCHEMA ON
|
||||
set global performance_schema=1;
|
||||
ERROR HY000: Variable 'performance_schema' is a read only variable
|
||||
set session performance_schema=1;
|
||||
ERROR HY000: Variable 'performance_schema' is a read only variable
|
Reference in New Issue
Block a user