summaryrefslogtreecommitdiff
path: root/mysql-test/include/fail_start_mysqld.inc
blob: bb1085b5dd75212a3354572b596d1a1b721696a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# ==== Usage ====
#
# [--let $restart_parameters= --innodb-force-recovery=0 --innodb-read-only=1]
# [--let $mysqld_stub_cmd= $MYSQLD_LAST_CMD]
# [--let $error_log= $MYSQLTEST_VARDIR/log/mysqld.1.err]
# --source include/fail_restart_mysqld.inc

# Evaluate the default of $error_log
if (!$error_log)
{
  --let $error_log= $MYSQLTEST_VARDIR/log/mysqld.1.err
}

--error 1
--exec $mysqld_stub_cmd $restart_parameters >> $error_log  2>&1

# As the server is stopped
--disable_reconnect