summaryrefslogtreecommitdiffstats
path: root/mysql-test/suite/perfschema/r/dml_rwlock_instances.result
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/suite/perfschema/r/dml_rwlock_instances.result')
-rw-r--r--mysql-test/suite/perfschema/r/dml_rwlock_instances.result20
1 files changed, 20 insertions, 0 deletions
diff --git a/mysql-test/suite/perfschema/r/dml_rwlock_instances.result b/mysql-test/suite/perfschema/r/dml_rwlock_instances.result
new file mode 100644
index 00000000..e127ace2
--- /dev/null
+++ b/mysql-test/suite/perfschema/r/dml_rwlock_instances.result
@@ -0,0 +1,20 @@
+select * from performance_schema.rwlock_instances limit 1;
+select * from performance_schema.rwlock_instances
+where name='FOO';
+insert into performance_schema.rwlock_instances
+set name='FOO', object_instance_begin=12;
+ERROR 42000: INSERT command denied to user 'root'@'localhost' for table 'rwlock_instances'
+update performance_schema.rwlock_instances
+set name='FOO';
+ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'rwlock_instances'
+delete from performance_schema.rwlock_instances
+where name like "wait/%";
+ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'rwlock_instances'
+delete from performance_schema.rwlock_instances;
+ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'rwlock_instances'
+LOCK TABLES performance_schema.rwlock_instances READ;
+ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'rwlock_instances'
+UNLOCK TABLES;
+LOCK TABLES performance_schema.rwlock_instances WRITE;
+ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'rwlock_instances'
+UNLOCK TABLES;