mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
reuse nodeid if ndbd is restarted
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user