summaryrefslogtreecommitdiff
path: root/mysql-test/install_test_db.sh
diff options
context:
space:
mode:
authorunknown <tomas@poseidon.ndb.mysql.com>2004-09-28 17:04:30 +0000
committerunknown <tomas@poseidon.ndb.mysql.com>2004-09-28 17:04:30 +0000
commita3937924529b7c409e2bb35490a189f3ae876e82 (patch)
tree2f4e25140d6ac6a703e6b1a5fbe866c99b7c5d74 /mysql-test/install_test_db.sh
parent1a265d34a246b925cf9255f4e63ffaa3dd0299bd (diff)
downloadmariadb-git-a3937924529b7c409e2bb35490a189f3ae876e82.tar.gz
added 2 masters for ndb tests
Diffstat (limited to 'mysql-test/install_test_db.sh')
-rw-r--r--mysql-test/install_test_db.sh9
1 files changed, 7 insertions, 2 deletions
diff --git a/mysql-test/install_test_db.sh b/mysql-test/install_test_db.sh
index 8db338f0f58..4554b92857e 100644
--- a/mysql-test/install_test_db.sh
+++ b/mysql-test/install_test_db.sh
@@ -36,8 +36,13 @@ then
data=var/slave-data
ldata=$fix_bin/var/slave-data
else
- data=var/master-data
- ldata=$fix_bin/var/master-data
+ if [ x$1 = x"-1" ]
+ then
+ data=var/master-data1
+ else
+ data=var/master-data
+ fi
+ ldata=$fix_bin/$data
fi
mdata=$data/mysql