summaryrefslogtreecommitdiff
path: root/mysql-test/include/mtr_check.sql
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/include/mtr_check.sql')
-rw-r--r--mysql-test/include/mtr_check.sql10
1 files changed, 10 insertions, 0 deletions
diff --git a/mysql-test/include/mtr_check.sql b/mysql-test/include/mtr_check.sql
index 84ffe8e93ae..ea1435d750c 100644
--- a/mysql-test/include/mtr_check.sql
+++ b/mysql-test/include/mtr_check.sql
@@ -59,3 +59,13 @@ BEGIN
mysql.user;
END||
+
+--
+-- Procedure used by test case used to force all
+-- servers to restart after testcase and thus skipping
+-- check test case after test
+--
+CREATE DEFINER=root@localhost PROCEDURE force_restart()
+BEGIN
+ SELECT 1 INTO OUTFILE 'force_restart';
+END||