From fb601b1304d6a56482c9ae3c6d840e0f9962cfa9 Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 9 Feb 2006 10:25:14 +0100 Subject: [PATCH] Force stop of old cluster mysql-test/mysql-test-run.pl: Set $using_ndbcluster_master to 1 if cluster is supported, to force a stop of old running cluster --- mysql-test/mysql-test-run.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mysql-test/mysql-test-run.pl b/mysql-test/mysql-test-run.pl index 6026cd2b4dd..8c968624a57 100755 --- a/mysql-test/mysql-test-run.pl +++ b/mysql-test/mysql-test-run.pl @@ -1182,7 +1182,7 @@ sub kill_running_server () { mkpath("$opt_vardir/log"); # Needed for mysqladmin log mtr_kill_leftovers(); - $using_ndbcluster_master= 1; + $using_ndbcluster_master= $opt_with_ndbcluster; ndbcluster_stop(); $master->[0]->{'ndbcluster'}= 1; }