summaryrefslogtreecommitdiff
path: root/mysql-test/suite/perfschema/t/start_server_no_waits_history.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/suite/perfschema/t/start_server_no_waits_history.test')
-rw-r--r--mysql-test/suite/perfschema/t/start_server_no_waits_history.test14
1 files changed, 14 insertions, 0 deletions
diff --git a/mysql-test/suite/perfschema/t/start_server_no_waits_history.test b/mysql-test/suite/perfschema/t/start_server_no_waits_history.test
new file mode 100644
index 00000000000..2ee7dba2526
--- /dev/null
+++ b/mysql-test/suite/perfschema/t/start_server_no_waits_history.test
@@ -0,0 +1,14 @@
+# Tests for PERFORMANCE_SCHEMA
+
+--source include/not_embedded.inc
+--source include/have_perfschema.inc
+
+--source ../include/start_server_common.inc
+
+# Expect no history
+show variables like "performance_schema_events_waits_history_size";
+select count(*) from performance_schema.events_waits_history;
+
+# Valid operation, edge case
+truncate table performance_schema.events_waits_history;
+