From 92d988402c993a3a7347204147c2c02180b9419d Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 30 Apr 2004 10:08:44 +0200 Subject: Updated default NDB config to work better with sql-bench Updated sql-bench configs to take NDB's limitations into account mysql-test/mysql-test-run.sh: Instruct run-all-tests to create tables in NDB if USE_NDBCLUSTER is set mysql-test/ndb/ndb_config_2_node.ini: Increase MaxNumberOfOperations to 100000 to support large deletes and inserts. sql-bench/server-cfg.sh: Add settings and limitations for NDB --- mysql-test/mysql-test-run.sh | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'mysql-test/mysql-test-run.sh') diff --git a/mysql-test/mysql-test-run.sh b/mysql-test/mysql-test-run.sh index 36f11220862..fd992714f36 100644 --- a/mysql-test/mysql-test-run.sh +++ b/mysql-test/mysql-test-run.sh @@ -1469,16 +1469,23 @@ $ECHO "Starting Tests" # if [ "$DO_BENCH" = 1 ] then + start_master + + if [ ! -z "$USE_NDBCLUSTER" ] + then + EXTRA_BENCH_ARGS="--create-options=TYPE=ndb" + fi + BENCHDIR=$BASEDIR/sql-bench/ savedir=`pwd` cd $BENCHDIR if [ -z "$1" ] then - ./run-all-tests --socket=$MASTER_MYSOCK --user=root + ./run-all-tests --socket=$MASTER_MYSOCK --user=root $EXTRA_BENCH_ARGS else if [ -x "./$1" ] then - ./$1 --socket=$MASTER_MYSOCK --user=root + ./$1 --socket=$MASTER_MYSOCK --user=root $EXTRA_BENCH_ARGS else echo "benchmark $1 not found" fi -- cgit v1.2.1