summaryrefslogtreecommitdiff
path: root/mysql-test/mysql-test-run.sh
diff options
context:
space:
mode:
authorunknown <sasha@mysql.sashanet.com>2001-03-23 19:59:30 -0700
committerunknown <sasha@mysql.sashanet.com>2001-03-23 19:59:30 -0700
commitbd6e70638f7e13ddd25e17abe90bc4fa18bee199 (patch)
treea9a5a741b0137acd2716d70b32d286f27095e459 /mysql-test/mysql-test-run.sh
parent2f49b3c15ec381460e3eb06195ff69512c01f81a (diff)
downloadmariadb-git-bd6e70638f7e13ddd25e17abe90bc4fa18bee199.tar.gz
fixes to get flush test to work only to discover another bug in flush
tables - read comments below client/mysqltest.c: fixed bug in send/reap added comments explaining how things work to remove from Monty the temptation to "clean up" my code use a separate pointer for the test line buffer from the query itself - in the case of send they are not the same added memory clean-up for register variables mysql-test/mysql-test-run.sh: added --skip-* option - you can now skip anything you want, good thing to skip is bdb and innobase if you are running only one test to speed up server startup mysql-test/t/flush.test: fixed up flush test after fixing send/reap bug - now found a new bug with flush - I get 1034 incorrect key file error on this - will investigate why, but thought I'd commit the test case first Another case to support Sinisa's assertion that FLUSH TABLES is dangerous and should be avoided :-) BitKeeper/etc/logging_ok: Logging to logging@openlogging.org accepted
Diffstat (limited to 'mysql-test/mysql-test-run.sh')
-rw-r--r--mysql-test/mysql-test-run.sh10
1 files changed, 8 insertions, 2 deletions
diff --git a/mysql-test/mysql-test-run.sh b/mysql-test/mysql-test-run.sh
index 24b62a69b9f..401c0d31c7f 100644
--- a/mysql-test/mysql-test-run.sh
+++ b/mysql-test/mysql-test-run.sh
@@ -139,9 +139,15 @@ while test $# -gt 0; do
fi
DO_DDD=1
;;
+ --skip-*)
+ EXTRA_MASTER_MYSQLD_OPT="$EXTRA_MASTER_MYSQLD_OPT $1"
+ EXTRA_SLAVE_MYSQLD_OPT="$EXTRA_SLAVE_MYSQLD_OPT $1"
+ ;;
--debug)
- EXTRA_MASTER_MYSQLD_OPT=--debug=d:t:O,$MYSQL_TMP_DIR/master.trace
- EXTRA_SLAVE_MYSQLD_OPT=--debug=d:t:O,$MYSQL_TMP_DIR/slave.trace
+ EXTRA_MASTER_MYSQLD_OPT="$EXTRA_MASTER_MYSQLD_OPT \
+ --debug=d:t:O,$MYSQL_TMP_DIR/master.trace"
+ EXTRA_SLAVE_MYSQLD_OPT="$EXTRA_SLAVE_MYSQLD_OPT \
+ --debug=d:t:O,$MYSQL_TMP_DIR/slave.trace"
EXTRA_MYSQL_TEST_OPT="$EXTRA_MYSQL_TEST_OPT --debug"
;;
-- ) shift; break ;;