diff options
Diffstat (limited to 'mysql-test/suite/perfschema/t/start_server_no_statements_history.test')
-rw-r--r-- | mysql-test/suite/perfschema/t/start_server_no_statements_history.test | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/mysql-test/suite/perfschema/t/start_server_no_statements_history.test b/mysql-test/suite/perfschema/t/start_server_no_statements_history.test new file mode 100644 index 00000000000..625e0bb3cd3 --- /dev/null +++ b/mysql-test/suite/perfschema/t/start_server_no_statements_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_statements_history_size"; +select count(*) from performance_schema.events_statements_history; + +# Valid operation, edge case +truncate table performance_schema.events_statements_history; + |