summaryrefslogtreecommitdiff
path: root/mysql-test/ndb
diff options
context:
space:
mode:
authorunknown <tomas@poseidon.ndb.mysql.com>2006-01-30 17:06:31 +0100
committerunknown <tomas@poseidon.ndb.mysql.com>2006-01-30 17:06:31 +0100
commit5a60eba217f2a9cd7e3a819ec929413dd0cdd0bc (patch)
tree24f067633df0d24479054abc28e151398a539956 /mysql-test/ndb
parent701347bc2ed3124beec7fe099d752bb0c3e962cf (diff)
downloadmariadb-git-5a60eba217f2a9cd7e3a819ec929413dd0cdd0bc.tar.gz
added --core option in mysql-test-run for ndb
mysql-test/r/ndb_restore.result: removed test printout not used mysql-test/t/ndb_restore.test: removed test printout not used
Diffstat (limited to 'mysql-test/ndb')
-rw-r--r--mysql-test/ndb/ndbcluster.sh12
1 files changed, 8 insertions, 4 deletions
diff --git a/mysql-test/ndb/ndbcluster.sh b/mysql-test/ndb/ndbcluster.sh
index fc1d12bac53..6812067a8ed 100644
--- a/mysql-test/ndb/ndbcluster.sh
+++ b/mysql-test/ndb/ndbcluster.sh
@@ -53,6 +53,7 @@ status_ndb=
ndb_diskless=0
ndbd_nodes=2
relative_config_data_dir=
+opt_core=
ndb_no_ord=512
ndb_no_attr=2048
@@ -118,6 +119,9 @@ while test $# -gt 0; do
--ndbd-extra-opts=*)
NDBD_EXTRA_OPTS=`echo "$1" | sed -e "s;--ndbd-extra-opts=;;"`
;;
+ --core)
+ opt_core="--core"
+ ;;
--verbose=*)
VERBOSE=`echo "$1" | sed -e "s;--verbose=;;"`
;;
@@ -153,10 +157,10 @@ if [ ! -f "$config_ini" ]; then
exit 1
fi
-exec_mgmtclient="$exec_mgmtclient --no-defaults $NDB_MGM_EXTRA_OPTS"
-exec_mgmtsrvr="$exec_mgmtsrvr --no-defaults $NDB_MGMD_EXTRA_OPTS"
-exec_ndb="$exec_ndb --no-defaults $NDBD_EXTRA_OPTS"
-exec_waiter="$exec_waiter --no-defaults"
+exec_mgmtclient="$exec_mgmtclient --no-defaults $opt_core $NDB_MGM_EXTRA_OPTS"
+exec_mgmtsrvr="$exec_mgmtsrvr --no-defaults $opt_core $NDB_MGMD_EXTRA_OPTS"
+exec_ndb="$exec_ndb --no-defaults $opt_core $NDBD_EXTRA_OPTS"
+exec_waiter="$exec_waiter --no-defaults $opt_core"
ndb_host="localhost"
ndb_mgmd_port=$port