1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

reuse nodeid if ndbd is restarted

mysql-test/mysql-test-run.pl:
  start and exit fix for ndbcluster
This commit is contained in:
unknown
2005-02-16 20:46:34 +01:00
parent c3dec835b5
commit 2eb2383ed0
6 changed files with 32 additions and 1 deletions

View File

@ -358,6 +358,10 @@ sub main () {
if ( $opt_start_and_exit )
{
if ( ndbcluster_start() )
{
mtr_error("Can't start ndbcluster");
}
if ( mysqld_start('master',0,[],[]) )
{
mtr_report("Servers started, exiting");
@ -1054,7 +1058,7 @@ sub ndbcluster_start () {
"--data-dir=$glob_mysql_test_dir/var"],
"", "/dev/null", "", "") )
{
mtr_error("Error ndbcluster_install");
mtr_error("Error ndbcluster_start");
return 1;
}