Debian Codegraph @

mysql-test/suite/perfschema/r/dml_rwlock_instances.result

raw
1 select * from performance_schema.rwlock_instances limit 1;
2 select * from performance_schema.rwlock_instances
3 where name='FOO';
4 insert into performance_schema.rwlock_instances
5 set name='FOO', object_instance_begin=12;
6 ERROR 42000: INSERT command denied to user 'root'@'localhost' for table `performance_schema`.`rwlock_instances`
7 update performance_schema.rwlock_instances
8 set name='FOO';
9 ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table `performance_schema`.`rwlock_instances`
10 delete from performance_schema.rwlock_instances
11 where name like "wait/%";
12 ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`rwlock_instances`
13 delete from performance_schema.rwlock_instances;
14 ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`rwlock_instances`
15 LOCK TABLES performance_schema.rwlock_instances READ;
16 ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`rwlock_instances`
17 UNLOCK TABLES;
18 LOCK TABLES performance_schema.rwlock_instances WRITE;
19 ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`rwlock_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='rwlock_instances';
27 column_name column_comment
28 NAME Instrument name associated with the read write lock
29 OBJECT_INSTANCE_BEGIN Address in memory of the instrumented lock
30 WRITE_LOCKED_BY_THREAD_ID THREAD_ID of the locking thread if locked in write (exclusive) mode, otherwise NULL.
31 READ_LOCKED_BY_COUNT Count of current read locks held