blob: ab17ccf676e0954965937c04dc7cbe4d1a66d664 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
--source include/not_embedded.inc
--source include/have_perfschema.inc
#
# Only global
#
select @@global.performance_schema_events_stages_history_long_size;
--error ER_INCORRECT_GLOBAL_LOCAL_VAR
select @@session.performance_schema_events_stages_history_long_size;
show global variables like 'performance_schema_events_stages_history_long_size';
show session variables like 'performance_schema_events_stages_history_long_size';
select * from information_schema.global_variables
where variable_name='performance_schema_events_stages_history_long_size';
select * from information_schema.session_variables
where variable_name='performance_schema_events_stages_history_long_size';
#
# Read-only
#
--error ER_INCORRECT_GLOBAL_LOCAL_VAR
set global performance_schema_events_stages_history_long_size=1;
--error ER_INCORRECT_GLOBAL_LOCAL_VAR
set session performance_schema_events_stages_history_long_size=1;
|