1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Addded test files for NDB

Updated stop_ndbcluster script


mysql-test/ndb/stop_ndbcluster:
  Allow script to run even if pidfile does not exist
  This is done so that it will try to connect to mgmtsrvr an stop all running ndb nodes.
  NOTE! It would be good if also the mgmtsrv could "stop itself"
mysql-test/r/ndb_index_ordered.result:
  Add table with two index columns to test
mysql-test/t/ndb_index_ordered.test:
  Add table with two index columns to test
This commit is contained in:
unknown
2004-04-30 12:49:34 +02:00
parent e25228dd42
commit 6415ba8ad1
5 changed files with 941 additions and 12 deletions

View File

@ -22,9 +22,9 @@ done
stop_default_ndbcluster() {
if [ ! -f $pidfile ] ; then
exit 0
fi
#if [ ! -f $pidfile ] ; then
# exit 0
#fi
if [ ! -f $cfgfile ] ; then
echo "$cfgfile missing"
@ -43,8 +43,11 @@ echo "all stop" | $exec_mgmtclient
sleep 5
kill `cat $pidfile`
rm $pidfile
if [ -f $pidfile ] ; then
kill `cat $pidfile`
rm $pidfile
fi
}
stop_default_ndbcluster