diff options
author | unknown <serg@serg.mysql.com> | 2001-11-20 17:59:57 +0100 |
---|---|---|
committer | unknown <serg@serg.mysql.com> | 2001-11-20 17:59:57 +0100 |
commit | 9a722eda620351a68f464dd900c9a5de0dbcd6a4 (patch) | |
tree | 21dd265f2d8e9a22b4e954967c8b408f656c5ee9 | |
parent | 62d2ecb170a83de0ec4d98bec37be5c3512cd83d (diff) | |
download | mariadb-git-9a722eda620351a68f464dd900c9a5de0dbcd6a4.tar.gz |
fixes: --gdb does not implies --manager
--manager implies --skip-gdb-magic
(which was introduced to make --gdb usable w/o manager)
-rw-r--r-- | mysql-test/mysql-test-run.sh | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/mysql-test/mysql-test-run.sh b/mysql-test/mysql-test-run.sh index 53035896077..871ba10b721 100644 --- a/mysql-test/mysql-test-run.sh +++ b/mysql-test/mysql-test-run.sh @@ -185,7 +185,6 @@ while test $# -gt 0; do --skip-rpl) NO_SLAVE=1 ;; --skip-test=*) SKIP_TEST=`$ECHO "$1" | $SED -e "s;--skip-test=;;"`;; --do-test=*) DO_TEST=`$ECHO "$1" | $SED -e "s;--do-test=;;"`;; - --skip-gdb-magic) SKIP_GDB_MAGIC=1 ;; --wait-timeout=*) START_WAIT_TIMEOUT=`$ECHO "$1" | $SED -e "s;--wait-timeout=;;"` STOP_WAIT_TIMEOUT=$START_WAIT_TIMEOUT;; @@ -222,7 +221,6 @@ while test $# -gt 0; do --gdb ) START_WAIT_TIMEOUT=300 STOP_WAIT_TIMEOUT=300 - USE_MANAGER=1 if [ x$BINARY_DIST = x1 ] ; then $ECHO "Note: you will get more meaningful output on a source distribution compiled with debugging option when running tests with --gdb option" fi @@ -705,13 +703,11 @@ start_master() elif [ x$DO_GDB = x1 ] then ( echo set args $master_args; - if [ -z "$SKIP_GDB_MAGIC" ] ; - then + if [ $USE_MANAGER = 0 ] ; then cat <<EOF b mysql_parse commands 1 -echo If you do not want to break here anymore, type dele 1\n -echo If you not want to break at all, use --skip-gdb-magic\n +disa 1 end r EOF |