| 1 |
select * from performance_schema.variables_by_thread |
| 2 |
where variable_name like 'autocommit%' limit 1; |
| 3 |
select * from performance_schema.variables_by_thread |
| 4 |
where variable_name='FOO'; |
| 5 |
insert into performance_schema.variables_by_thread |
| 6 |
set thread_id=1, variable_name='FOO', variable_value='BAR'; |
| 7 |
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table 'variables_by_thread' |
| 8 |
update performance_schema.variables_by_thread |
| 9 |
set variable_name='FOO', variable_value='BAR'; |
| 10 |
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'variables_by_thread' |
| 11 |
update performance_schema.variables_by_thread |
| 12 |
set variable_name='FOO' where thread_id=0; |
| 13 |
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'variables_by_thread' |
| 14 |
delete from performance_schema.variables_by_thread |
| 15 |
where thread_id=1; |
| 16 |
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'variables_by_thread' |
| 17 |
delete from performance_schema.variables_by_thread; |
| 18 |
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'variables_by_thread' |
| 19 |
LOCK TABLES performance_schema.variables_by_thread READ; |
| 20 |
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'variables_by_thread' |
| 21 |
UNLOCK TABLES; |
| 22 |
LOCK TABLES performance_schema.variables_by_thread WRITE; |
| 23 |
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'variables_by_thread' |
| 24 |
UNLOCK TABLES; |