From beb0eaa9d114448353279388de7f448119a50233 Mon Sep 17 00:00:00 2001
From: Magnus Svensson <msvensson@mysql.com>
Date: Tue, 31 Mar 2009 15:39:40 +0200
Subject: Bug#43983 Support force restart of all servers after test ended  -
 Some tests need to modify the server(s) so much that a total restart of all
 servers are    necessary after test. Make it possible for a test to signal it
 want mtr.pl to restart    all servers.

---
 mysql-test/include/mtr_check.sql | 10 ++++++++++
 1 file changed, 10 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 12cb2c870a2..9db631a2615 100644
--- a/mysql-test/include/mtr_check.sql
+++ b/mysql-test/include/mtr_check.sql
@@ -57,3 +57,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||
-- 
cgit v1.2.1

