1
0
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:
tomas@poseidon.ndb.mysql.com
2005-02-16 20:46:34 +01:00
parent 0d03304294
commit 334d92db03
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;
}