summaryrefslogtreecommitdiff
path: root/mysql-test/suite/perfschema/r/dml_performance_timers.result
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/suite/perfschema/r/dml_performance_timers.result')
-rw-r--r--mysql-test/suite/perfschema/r/dml_performance_timers.result29
1 files changed, 29 insertions, 0 deletions
diff --git a/mysql-test/suite/perfschema/r/dml_performance_timers.result b/mysql-test/suite/perfschema/r/dml_performance_timers.result
new file mode 100644
index 00000000000..7e1d3005fb0
--- /dev/null
+++ b/mysql-test/suite/perfschema/r/dml_performance_timers.result
@@ -0,0 +1,29 @@
+select * from performance_schema.performance_timers;
+TIMER_NAME TIMER_FREQUENCY TIMER_RESOLUTION TIMER_OVERHEAD
+CYCLE <frequency> <resolution> <overhead>
+NANOSECOND <frequency> <resolution> <overhead>
+MICROSECOND <frequency> <resolution> <overhead>
+MILLISECOND <frequency> <resolution> <overhead>
+TICK <frequency> <resolution> <overhead>
+select * from performance_schema.performance_timers
+where timer_name='CYCLE';
+TIMER_NAME TIMER_FREQUENCY TIMER_RESOLUTION TIMER_OVERHEAD
+CYCLE <frequency> <resolution> <overhead>
+insert into performance_schema.performance_timers
+set timer_name='FOO', timer_frequency=1,
+timer_resolution=2, timer_overhead=3;
+ERROR 42000: INSERT command denied to user 'root'@'localhost' for table 'performance_timers'
+update performance_schema.performance_timers
+set timer_frequency=12 where timer_name='CYCLE';
+ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'performance_timers'
+delete from performance_schema.performance_timers;
+ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'performance_timers'
+delete from performance_schema.performance_timers
+where timer_name='CYCLE';
+ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'performance_timers'
+LOCK TABLES performance_schema.performance_timers READ;
+ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'performance_timers'
+UNLOCK TABLES;
+LOCK TABLES performance_schema.performance_timers WRITE;
+ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'performance_timers'
+UNLOCK TABLES;