diff options
Diffstat (limited to 'mysql-test')
-rw-r--r-- | mysql-test/r/show_explain_ps.result | 2 | ||||
-rw-r--r-- | mysql-test/t/show_explain_ps.test | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/mysql-test/r/show_explain_ps.result b/mysql-test/r/show_explain_ps.result index 1b38a9ad1e5..71c8f117fa2 100644 --- a/mysql-test/r/show_explain_ps.result +++ b/mysql-test/r/show_explain_ps.result @@ -1,3 +1,5 @@ +truncate table performance_schema.events_statements_history_long; +truncate table performance_schema.events_stages_history_long; drop table if exists t0, t1; select * from performance_schema.setup_instruments where name like '%show_explain%'; NAME ENABLED TIMED diff --git a/mysql-test/t/show_explain_ps.test b/mysql-test/t/show_explain_ps.test index e847abe3096..b43cd559e09 100644 --- a/mysql-test/t/show_explain_ps.test +++ b/mysql-test/t/show_explain_ps.test @@ -6,7 +6,10 @@ # Like all other perfschema tests, we don't work on embedded server: --source include/not_embedded.inc ---source include/restart_mysqld.inc +# There is a query below that selects from P_S tables. +# Remove possible history that could confuse it +truncate table performance_schema.events_statements_history_long; +truncate table performance_schema.events_stages_history_long; --disable_warnings drop table if exists t0, t1; |