summaryrefslogtreecommitdiff
path: root/mysql-test/suite/perfschema/r/dml_setup_consumers.result
blob: 44ed751dcd27b793a2d1b5cdcb7dae3416a4cc72 (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
33
34
35
36
37
38
39
40
41
42
43
44
45
select * from performance_schema.SETUP_CONSUMERS;
NAME	ENABLED
events_waits_current	YES
events_waits_history	YES
events_waits_history_long	YES
events_waits_summary_by_thread_by_event_name	YES
events_waits_summary_by_event_name	YES
events_waits_summary_by_instance	YES
file_summary_by_event_name	YES
file_summary_by_instance	YES
select * from performance_schema.SETUP_CONSUMERS
where name='events_waits_current';
NAME	ENABLED
events_waits_current	YES
select * from performance_schema.SETUP_CONSUMERS
where enabled='YES';
NAME	ENABLED
events_waits_current	YES
events_waits_history	YES
events_waits_history_long	YES
events_waits_summary_by_thread_by_event_name	YES
events_waits_summary_by_event_name	YES
events_waits_summary_by_instance	YES
file_summary_by_event_name	YES
file_summary_by_instance	YES
select * from performance_schema.SETUP_CONSUMERS
where enabled='NO';
NAME	ENABLED
insert into performance_schema.SETUP_CONSUMERS
set name='FOO', enabled='YES';
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table 'SETUP_CONSUMERS'
update performance_schema.SETUP_CONSUMERS
set name='FOO';
ERROR HY000: Invalid performance_schema usage.
update performance_schema.SETUP_CONSUMERS
set enabled='YES';
delete from performance_schema.SETUP_CONSUMERS;
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'SETUP_CONSUMERS'
delete from performance_schema.SETUP_CONSUMERS
where name='events_waits_current';
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'SETUP_CONSUMERS'
LOCK TABLES performance_schema.SETUP_CONSUMERS READ;
UNLOCK TABLES;
LOCK TABLES performance_schema.SETUP_CONSUMERS WRITE;
UNLOCK TABLES;