| 1 |
select * from performance_schema.events_statements_history_long |
| 2 |
where event_name like 'statement/%' limit 1; |
| 3 |
select * from performance_schema.events_statements_history_long |
| 4 |
where event_name='FOO'; |
| 5 |
select * from performance_schema.events_statements_history_long |
| 6 |
where event_name like 'statement/%' order by timer_wait limit 1; |
| 7 |
select * from performance_schema.events_statements_history_long |
| 8 |
where event_name like 'statement/%' order by timer_wait desc limit 1; |
| 9 |
insert into performance_schema.events_statements_history_long |
| 10 |
set thread_id='1', event_id=1, |
| 11 |
event_name='FOO', timer_start=1, timer_end=2, timer_wait=3; |
| 12 |
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table 'events_statements_history_long' |
| 13 |
update performance_schema.events_statements_history_long |
| 14 |
set timer_start=12; |
| 15 |
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'events_statements_history_long' |
| 16 |
update performance_schema.events_statements_history_long |
| 17 |
set timer_start=12 where thread_id=0; |
| 18 |
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'events_statements_history_long' |
| 19 |
delete from performance_schema.events_statements_history_long |
| 20 |
where thread_id=1; |
| 21 |
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'events_statements_history_long' |
| 22 |
delete from performance_schema.events_statements_history_long; |
| 23 |
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'events_statements_history_long' |
| 24 |
LOCK TABLES performance_schema.events_statements_history_long READ; |
| 25 |
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'events_statements_history_long' |
| 26 |
UNLOCK TABLES; |
| 27 |
LOCK TABLES performance_schema.events_statements_history_long WRITE; |
| 28 |
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'events_statements_history_long' |
| 29 |
UNLOCK TABLES; |