summaryrefslogtreecommitdiff
path: root/mysql-test/mysql-test-run.sh
diff options
context:
space:
mode:
authormonty@narttu.mysql.fi <>2003-03-10 11:22:37 +0200
committermonty@narttu.mysql.fi <>2003-03-10 11:22:37 +0200
commitc43b3af78c9db45ed6901c39dbb83066c70fbd74 (patch)
treecaaf93f4311641760c5a58ab8099d7eab15c0d79 /mysql-test/mysql-test-run.sh
parent8c51eb2c126c1782e2598763d516f92eec29c924 (diff)
downloadmariadb-git-c43b3af78c9db45ed6901c39dbb83066c70fbd74.tar.gz
Don't allow BACKUP TABLE to overwrite files
Fixed memory leak when replication restarts in debug mode
Diffstat (limited to 'mysql-test/mysql-test-run.sh')
-rw-r--r--mysql-test/mysql-test-run.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/mysql-test/mysql-test-run.sh b/mysql-test/mysql-test-run.sh
index 8b1c8ff1b44..e6a52ba8756 100644
--- a/mysql-test/mysql-test-run.sh
+++ b/mysql-test/mysql-test-run.sh
@@ -604,7 +604,7 @@ start_slave()
$EXTRA_SLAVE_OPT $EXTRA_SLAVE_MYSQLD_OPT"
if [ x$DO_DDD = x1 ]
then
- $ECHO "set args $master_args" > $GDB_SLAVE_INIT
+ $ECHO "set args $slave_args" > $GDB_SLAVE_INIT
ddd --debugger "gdb -x $GDB_SLAVE_INIT" $SLAVE_MYSQLD &
prompt_user "Hit enter to continue after you've started the slave"
elif [ x$DO_GDB = x1 ]
@@ -746,7 +746,7 @@ run_testcase ()
stop_master
start_master
else
- if [ ! -z "$EXTRA_MASTER_OPT" ] || [ x$MASTER_RUNNING != x1 ] ;
+ if [ ! -z "$EXTRA_MASTER_OPT" ] || [ x$MASTER_RUNNING != x1 ] || [ -f $master_init_script ]
then
EXTRA_MASTER_OPT=""
stop_master