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
This commit is contained in:
Elena Stepanova 2016-02-12 03:47:25 +02:00
parent 5094a4ab33
commit 2c79f57530

View File

@ -88,3 +88,10 @@ UNLOCK TABLES;
--echo
UPDATE performance_schema.setup_instruments SET timed='NO'
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