mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
WL#2360 Performance schema
Part V: performance schema implementation
This commit is contained in:
23
mysql-test/suite/perfschema/r/dml_file_instances.result
Normal file
23
mysql-test/suite/perfschema/r/dml_file_instances.result
Normal file
@@ -0,0 +1,23 @@
|
||||
select * from performance_schema.FILE_INSTANCES limit 1;
|
||||
FILE_NAME EVENT_NAME OPEN_COUNT
|
||||
# # #
|
||||
select * from performance_schema.FILE_INSTANCES
|
||||
where file_name='FOO';
|
||||
FILE_NAME EVENT_NAME OPEN_COUNT
|
||||
insert into performance_schema.FILE_INSTANCES
|
||||
set file_name='FOO', event_name='BAR', open_count=12;
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table 'FILE_INSTANCES'
|
||||
update performance_schema.FILE_INSTANCES
|
||||
set file_name='FOO';
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'FILE_INSTANCES'
|
||||
delete from performance_schema.FILE_INSTANCES
|
||||
where event_name like "wait/%";
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'FILE_INSTANCES'
|
||||
delete from performance_schema.FILE_INSTANCES;
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'FILE_INSTANCES'
|
||||
LOCK TABLES performance_schema.FILE_INSTANCES READ;
|
||||
ERROR 42000: SELECT,LOCK TABL command denied to user 'root'@'localhost' for table 'FILE_INSTANCES'
|
||||
UNLOCK TABLES;
|
||||
LOCK TABLES performance_schema.FILE_INSTANCES WRITE;
|
||||
ERROR 42000: SELECT,LOCK TABL command denied to user 'root'@'localhost' for table 'FILE_INSTANCES'
|
||||
UNLOCK TABLES;
|
||||
Reference in New Issue
Block a user