2010-01-11 18:47:27 -07:00
|
|
|
select * from performance_schema.MUTEX_INSTANCES limit 1;
|
|
|
|
NAME OBJECT_INSTANCE_BEGIN LOCKED_BY_THREAD_ID
|
2010-01-25 20:12:20 -07:00
|
|
|
# # #
|
2010-01-11 18:47:27 -07:00
|
|
|
select * from performance_schema.MUTEX_INSTANCES
|
|
|
|
where name='FOO';
|
|
|
|
NAME OBJECT_INSTANCE_BEGIN LOCKED_BY_THREAD_ID
|
|
|
|
insert into performance_schema.MUTEX_INSTANCES
|
|
|
|
set name='FOO', object_instance_begin=12;
|
|
|
|
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table 'MUTEX_INSTANCES'
|
|
|
|
update performance_schema.MUTEX_INSTANCES
|
|
|
|
set name='FOO';
|
|
|
|
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'MUTEX_INSTANCES'
|
|
|
|
delete from performance_schema.MUTEX_INSTANCES
|
|
|
|
where name like "wait/%";
|
|
|
|
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'MUTEX_INSTANCES'
|
|
|
|
delete from performance_schema.MUTEX_INSTANCES;
|
|
|
|
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'MUTEX_INSTANCES'
|
|
|
|
LOCK TABLES performance_schema.MUTEX_INSTANCES READ;
|
|
|
|
ERROR 42000: SELECT,LOCK TABL command denied to user 'root'@'localhost' for table 'MUTEX_INSTANCES'
|
|
|
|
UNLOCK TABLES;
|
|
|
|
LOCK TABLES performance_schema.MUTEX_INSTANCES WRITE;
|
|
|
|
ERROR 42000: SELECT,LOCK TABL command denied to user 'root'@'localhost' for table 'MUTEX_INSTANCES'
|
|
|
|
UNLOCK TABLES;
|