summaryrefslogtreecommitdiff
path: root/mysql-test/include
diff options
context:
space:
mode:
authorMagnus Svensson <msvensson@mysql.com>2009-03-31 15:39:40 +0200
committerMagnus Svensson <msvensson@mysql.com>2009-03-31 15:39:40 +0200
commitbeb0eaa9d114448353279388de7f448119a50233 (patch)
tree3e5a535e06e9127d888e7511d719fff48c8f919b /mysql-test/include
parent5a8243be55909fb2252d8569d69345a0dee337da (diff)
downloadmariadb-git-beb0eaa9d114448353279388de7f448119a50233.tar.gz
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.
Diffstat (limited to 'mysql-test/include')
-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 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||