Commit 2c79f575 authored by Elena Stepanova's avatar Elena Stepanova

MDEV-9464 perfschema.global_read_lock fails when executed after perfschema.dml_setup_instruments

dml_setup_instruments did not restore settings in setup_instruments table
after updating it as a part of the test flow
parent 5094a4ab
...@@ -88,3 +88,10 @@ UNLOCK TABLES; ...@@ -88,3 +88,10 @@ UNLOCK TABLES;
--echo --echo
UPDATE performance_schema.setup_instruments SET timed='NO' UPDATE performance_schema.setup_instruments SET timed='NO'
ORDER BY RAND(); ORDER BY RAND();
# MTR is configured to start with everything set to ON,
# so we need to restore it after the previous update
--disable_query_log
update performance_schema.setup_instruments set timed='YES';
--enable_query_log
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment