| 1 |
select * from performance_schema.cond_instances limit 1; |
| 2 |
select * from performance_schema.cond_instances |
| 3 |
where name='FOO'; |
| 4 |
insert into performance_schema.cond_instances |
| 5 |
set name='FOO', object_instance_begin=12; |
| 6 |
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table `performance_schema`.`cond_instances` |
| 7 |
update performance_schema.cond_instances |
| 8 |
set name='FOO'; |
| 9 |
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table `performance_schema`.`cond_instances` |
| 10 |
delete from performance_schema.cond_instances |
| 11 |
where name like "wait/%"; |
| 12 |
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`cond_instances` |
| 13 |
delete from performance_schema.cond_instances; |
| 14 |
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`cond_instances` |
| 15 |
LOCK TABLES performance_schema.cond_instances READ; |
| 16 |
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`cond_instances` |
| 17 |
UNLOCK TABLES; |
| 18 |
LOCK TABLES performance_schema.cond_instances WRITE; |
| 19 |
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`cond_instances` |
| 20 |
UNLOCK TABLES; |
| 21 |
# |
| 22 |
# MDEV-25325 column_comment for performance_schema tables |
| 23 |
# |
| 24 |
select column_name, column_comment |
| 25 |
from information_schema.columns |
| 26 |
where table_schema='performance_schema' and table_name='cond_instances'; |
| 27 |
column_name column_comment |
| 28 |
NAME Client user name for the connection, or NULL if an internal thread. |
| 29 |
OBJECT_INSTANCE_BEGIN Address in memory of the instrumented condition. |