diff options
author | unknown <tomas@poseidon.ndb.mysql.com> | 2006-05-05 15:34:46 +0200 |
---|---|---|
committer | unknown <tomas@poseidon.ndb.mysql.com> | 2006-05-05 15:34:46 +0200 |
commit | 2a6a3ad279494f631b71ba1cb30ed0b659ce4707 (patch) | |
tree | 6f97b49bc79bd64957aab11992c9630d31580281 /mysql-test/mysql-test-run.pl | |
parent | 2a655fcc519a968d2dd33534b37c923549b37a7b (diff) | |
download | mariadb-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-x | mysql-test/mysql-test-run.pl | 2 |
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) { |