Change script to avoiud multiple --debug flags when starting master servers

parent 51296b53
...@@ -1151,8 +1151,7 @@ start_master() ...@@ -1151,8 +1151,7 @@ start_master()
fi fi
if [ -n "$EXTRA_MASTER_MYSQLD_TRACE" ] if [ -n "$EXTRA_MASTER_MYSQLD_TRACE" ]
then then
EXTRA_MASTER_MYSQLD_OPT="$EXTRA_MASTER_MYSQLD_OPT \ CURR_MASTER_MYSQLD_TRACE="$EXTRA_MASTER_MYSQLD_TRACE$1"
$EXTRA_MASTER_MYSQLD_TRACE$1"
fi fi
if [ -z "$DO_BENCH" ] if [ -z "$DO_BENCH" ]
then then
...@@ -1177,7 +1176,7 @@ start_master() ...@@ -1177,7 +1176,7 @@ start_master()
$MASTER_40_ARGS \ $MASTER_40_ARGS \
$SMALL_SERVER \ $SMALL_SERVER \
$EXTRA_MASTER_OPT $EXTRA_MASTER_MYSQLD_OPT \ $EXTRA_MASTER_OPT $EXTRA_MASTER_MYSQLD_OPT \
$NOT_FIRST_MASTER_EXTRA_OPTS" $NOT_FIRST_MASTER_EXTRA_OPTS $CURR_MASTER_MYSQLD_TRACE"
else else
master_args="--no-defaults --log-bin=$MYSQL_TEST_DIR/var/log/master-bin$1 \ master_args="--no-defaults --log-bin=$MYSQL_TEST_DIR/var/log/master-bin$1 \
--server-id=$id --rpl-recovery-rank=1 \ --server-id=$id --rpl-recovery-rank=1 \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment