Loading ndb/src/common/debugger/EventLogger.cpp +0 −2 Original line number Diff line number Diff line Loading @@ -91,8 +91,6 @@ void getRestartAction(Uint32 action, BaseString &str) if (action == 0) return; str.appfmt(", restarting"); if (action & 2) str.appfmt(", no start"); if (action & 4) str.appfmt(", initial"); } Loading ndb/src/mgmclient/CommandInterpreter.cpp +10 −2 Original line number Diff line number Diff line Loading @@ -2148,7 +2148,7 @@ CommandInterpreter::executeRestart(Vector<BaseString> &command_list, return -1; } if (!nostart) if (nostart) ndbout_c("Shutting down nodes with \"-n, no start\" option, to subsequently start the nodes."); result= ndb_mgm_restart3(m_mgmsrv, no_of_nodes, node_ids, Loading @@ -2168,7 +2168,15 @@ CommandInterpreter::executeRestart(Vector<BaseString> &command_list, ndbout << "Node"; for (int i= 0; i < no_of_nodes; i++) ndbout << " " << node_ids[i]; ndbout_c(" is being restarted"); ndbout_c(": Is being restarted"); ndbout << "Node"; for (int i= 0; i < no_of_nodes; i++) ndbout << " " << node_ids[i]; if (nostart) ndbout_c(": No start"); else ndbout_c(": Is rejoining the cluster"); } if(need_disconnect) disconnect(); Loading Loading
ndb/src/common/debugger/EventLogger.cpp +0 −2 Original line number Diff line number Diff line Loading @@ -91,8 +91,6 @@ void getRestartAction(Uint32 action, BaseString &str) if (action == 0) return; str.appfmt(", restarting"); if (action & 2) str.appfmt(", no start"); if (action & 4) str.appfmt(", initial"); } Loading
ndb/src/mgmclient/CommandInterpreter.cpp +10 −2 Original line number Diff line number Diff line Loading @@ -2148,7 +2148,7 @@ CommandInterpreter::executeRestart(Vector<BaseString> &command_list, return -1; } if (!nostart) if (nostart) ndbout_c("Shutting down nodes with \"-n, no start\" option, to subsequently start the nodes."); result= ndb_mgm_restart3(m_mgmsrv, no_of_nodes, node_ids, Loading @@ -2168,7 +2168,15 @@ CommandInterpreter::executeRestart(Vector<BaseString> &command_list, ndbout << "Node"; for (int i= 0; i < no_of_nodes; i++) ndbout << " " << node_ids[i]; ndbout_c(" is being restarted"); ndbout_c(": Is being restarted"); ndbout << "Node"; for (int i= 0; i < no_of_nodes; i++) ndbout << " " << node_ids[i]; if (nostart) ndbout_c(": No start"); else ndbout_c(": Is rejoining the cluster"); } if(need_disconnect) disconnect(); Loading