summaryrefslogtreecommitdiff
path: root/mysql-test/mysql-test-run.sh
diff options
context:
space:
mode:
authorserg@serg.mysql.com <>2001-10-15 18:27:12 +0200
committerserg@serg.mysql.com <>2001-10-15 18:27:12 +0200
commite4405fc5d825f581bce060b9eb0de46c36f3cf6b (patch)
treee1cff2287da2501321169444278964cc1b0f5ea0 /mysql-test/mysql-test-run.sh
parent3dd727f4950f019eb85f4f03923e511d1e83ac60 (diff)
downloadmariadb-git-e4405fc5d825f581bce060b9eb0de46c36f3cf6b.tar.gz
make mysql-test-run --gdb to work (as it does not wait for keypress anymore)
manual updated
Diffstat (limited to 'mysql-test/mysql-test-run.sh')
-rw-r--r--mysql-test/mysql-test-run.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/mysql-test/mysql-test-run.sh b/mysql-test/mysql-test-run.sh
index 86d6725c2f1..7428740d380 100644
--- a/mysql-test/mysql-test-run.sh
+++ b/mysql-test/mysql-test-run.sh
@@ -673,7 +673,9 @@ start_master()
"gdb -x $GDB_MASTER_INIT" $MYSQLD
elif [ x$DO_GDB = x1 ]
then
- $ECHO "set args $master_args" > $GDB_MASTER_INIT
+ $ECHO "set args $master_args" > $GDB_MASTER_INIT
+ $ECHO "b mysql_parse" >> $GDB_MASTER_INIT
+ $ECHO "r" >> $GDB_MASTER_INIT
manager_launch master $XTERM -display $DISPLAY \
-title "Master" -e gdb -x $GDB_MASTER_INIT $MYSQLD
else