summaryrefslogtreecommitdiff
path: root/mysql-test/mysql-test-run.pl
diff options
context:
space:
mode:
authorunknown <tomas@poseidon.ndb.mysql.com>2006-05-05 15:34:46 +0200
committerunknown <tomas@poseidon.ndb.mysql.com>2006-05-05 15:34:46 +0200
commit2a6a3ad279494f631b71ba1cb30ed0b659ce4707 (patch)
tree6f97b49bc79bd64957aab11992c9630d31580281 /mysql-test/mysql-test-run.pl
parent2a655fcc519a968d2dd33534b37c923549b37a7b (diff)
downloadmariadb-git-2a6a3ad279494f631b71ba1cb30ed0b659ce4707.tar.gz
do not install ndb slave if no slaves
fixed memleak in ndbcluster_end mysql-test/mysql-test-run.pl: do not install ndb slave if no slaves sql/ha_ndbcluster.cc: fixed memleak in ndbcluster_end
Diffstat (limited to 'mysql-test/mysql-test-run.pl')
-rwxr-xr-xmysql-test/mysql-test-run.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysql-test/mysql-test-run.pl b/mysql-test/mysql-test-run.pl
index 30ac61c80e8..fa3b5ad3081 100755
--- a/mysql-test/mysql-test-run.pl
+++ b/mysql-test/mysql-test-run.pl
@@ -1857,7 +1857,7 @@ sub mysql_install_db () {
}
}
- if ( ndbcluster_install_slave() )
+ if ( $use_slaves and ndbcluster_install_slave() )
{
if ( $opt_force)
{