From ebaac51c2f047892cdfc0e30415a4880df9de2e8 Mon Sep 17 00:00:00 2001
From: Sergei Golubchik <sergii@pisem.net>
Date: Mon, 27 Jan 2014 12:10:53 +0100
Subject: mtr: check that tests clean up debug_sync. fix tests that didn't.

---
 mysql-test/include/mtr_check.sql | 3 +++
 1 file changed, 3 insertions(+)

(limited to 'mysql-test/include/mtr_check.sql')

diff --git a/mysql-test/include/mtr_check.sql b/mysql-test/include/mtr_check.sql
index 7cca74d52f0..e0d4f407633 100644
--- a/mysql-test/include/mtr_check.sql
+++ b/mysql-test/include/mtr_check.sql
@@ -78,6 +78,9 @@ BEGIN
   -- verify that no plugin changed its disabled/enabled state
   SELECT * FROM INFORMATION_SCHEMA.PLUGINS;
 
+  select * from information_schema.session_variables
+    where variable_name = 'debug_sync';
+
  show status like 'slave_open_temp_tables';
 
 END||
-- 
cgit v1.2.1

