summaryrefslogtreecommitdiff
path: root/mysql-test/include
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2017-01-12 12:42:15 +0200
committerMarko Mäkelä <marko.makela@mariadb.com>2017-01-12 13:00:11 +0200
commit7c81f15ec3bcc8ad5a11e2151354bc27c4ce7ab4 (patch)
treef170466904c8fcca01cb9fb661d426e8749d781f /mysql-test/include
parentfd0479ce592e0b7c13d67b5deda62e9090956309 (diff)
parent2dc5d8bb7e087a340edb989c045070b808e0da57 (diff)
downloadmariadb-git-7c81f15ec3bcc8ad5a11e2151354bc27c4ce7ab4.tar.gz
Merge 10.1 into bb-10.2-mdev-11782
Diffstat (limited to 'mysql-test/include')
-rw-r--r--mysql-test/include/start_mysqld.inc9
1 files changed, 8 insertions, 1 deletions
diff --git a/mysql-test/include/start_mysqld.inc b/mysql-test/include/start_mysqld.inc
index 983c566821e..e31f26aad8c 100644
--- a/mysql-test/include/start_mysqld.inc
+++ b/mysql-test/include/start_mysqld.inc
@@ -1,7 +1,14 @@
# Include this script only after using shutdown_mysqld.inc
# where $_expect_file_name was initialized.
# Write file to make mysql-test-run.pl start up the server again
---exec echo "restart" > $_expect_file_name
+if ($restart_parameters)
+{
+ --exec echo "restart: $restart_parameters" > $_expect_file_name
+}
+if (!$restart_parameters)
+{
+ --exec echo "restart" > $_expect_file_name
+}
# Turn on reconnect
--enable_reconnect