1
# Tests for PERFORMANCE_SCHEMA
3
--source include/not_embedded.inc
4
--source include/have_perfschema.inc
7
select * from performance_schema.file_instances limit 1;
9
select * from performance_schema.file_instances
10
where file_name='FOO';
13
--error ER_TABLEACCESS_DENIED_ERROR
14
insert into performance_schema.file_instances
15
set file_name='FOO', event_name='BAR', open_count=12;
17
--error ER_TABLEACCESS_DENIED_ERROR
18
update performance_schema.file_instances
21
--error ER_TABLEACCESS_DENIED_ERROR
22
delete from performance_schema.file_instances
23
where event_name like "wait/%";
25
--error ER_TABLEACCESS_DENIED_ERROR
26
delete from performance_schema.file_instances;
28
-- error ER_TABLEACCESS_DENIED_ERROR
29
LOCK TABLES performance_schema.file_instances READ;
32
-- error ER_TABLEACCESS_DENIED_ERROR
33
LOCK TABLES performance_schema.file_instances WRITE;