summaryrefslogtreecommitdiff
path: root/storage
diff options
context:
space:
mode:
authorunknown <tomas@whalegate.ndb.mysql.com>2007-09-12 13:58:03 +0200
committerunknown <tomas@whalegate.ndb.mysql.com>2007-09-12 13:58:03 +0200
commit6bead54df87aeab2fac233cb928e4029f93f0c58 (patch)
tree482610e06e33c20a48a4ca8659bc2739bb322d0d /storage
parent85b4a64cdff0801cc2bd97a164d37a681002cf2e (diff)
parent46bca215c7a9bd7980819382f71f320b8008677f (diff)
downloadmariadb-git-6bead54df87aeab2fac233cb928e4029f93f0c58.tar.gz
Merge whalegate.ndb.mysql.com:/home/tomas/mysql-5.0-ndb-bj
into whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-new-ndb-bj sql/ha_ndbcluster.cc: Auto merged storage/ndb/src/common/debugger/EventLogger.cpp: Auto merged storage/ndb/src/mgmclient/CommandInterpreter.cpp: Auto merged storage/ndb/src/ndbapi/NdbDictionaryImpl.cpp: Auto merged
Diffstat (limited to 'storage')
-rw-r--r--storage/ndb/src/common/debugger/EventLogger.cpp2
-rw-r--r--storage/ndb/src/mgmclient/CommandInterpreter.cpp10
2 files changed, 3 insertions, 9 deletions
diff --git a/storage/ndb/src/common/debugger/EventLogger.cpp b/storage/ndb/src/common/debugger/EventLogger.cpp
index c7f9a42f39e..0964a54f906 100644
--- a/storage/ndb/src/common/debugger/EventLogger.cpp
+++ b/storage/ndb/src/common/debugger/EventLogger.cpp
@@ -90,6 +90,8 @@ 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");
}
diff --git a/storage/ndb/src/mgmclient/CommandInterpreter.cpp b/storage/ndb/src/mgmclient/CommandInterpreter.cpp
index 8d9197574dd..875cc2771ae 100644
--- a/storage/ndb/src/mgmclient/CommandInterpreter.cpp
+++ b/storage/ndb/src/mgmclient/CommandInterpreter.cpp
@@ -2106,15 +2106,7 @@ 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 << "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");
+ ndbout_c(" is being restarted");
}
if(need_disconnect)
disconnect();