summaryrefslogtreecommitdiff
path: root/ndb
diff options
context:
space:
mode:
authorunknown <gni/root@dev3-221.dev.cn.tlan>2007-05-08 10:02:55 +0800
committerunknown <gni/root@dev3-221.dev.cn.tlan>2007-05-08 10:02:55 +0800
commit6aa333d979357e1e66b27900992c8fd9852a69dc (patch)
tree2aa571de7dd67b61498d04bac8ba75be54c4ac31 /ndb
parent6d38c87d70641f0cf0890cef0a9813b9b9cc0e36 (diff)
parent12f8f00240482040b57146cb551d9a1fe3ec03f0 (diff)
downloadmariadb-git-6aa333d979357e1e66b27900992c8fd9852a69dc.tar.gz
Merge dev3-221.dev.cn.tlan:/home/ngb/mysql/mysql-4.1/mysql-4.1-ndb-bj
into dev3-221.dev.cn.tlan:/home/ngb/mysql/mysql-4.1/mysql-4.1-ndb
Diffstat (limited to 'ndb')
-rw-r--r--ndb/src/mgmclient/CommandInterpreter.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/ndb/src/mgmclient/CommandInterpreter.cpp b/ndb/src/mgmclient/CommandInterpreter.cpp
index ea5dc218898..e38c1109077 100644
--- a/ndb/src/mgmclient/CommandInterpreter.cpp
+++ b/ndb/src/mgmclient/CommandInterpreter.cpp
@@ -1629,6 +1629,7 @@ CommandInterpreter::executeStatus(int processId,
}
if (cl->node_states[i].node_type != NDB_MGM_NODE_TYPE_NDB){
if (cl->node_states[i].version != 0){
+ version = cl->node_states[i].version;
ndbout << "Node "<< cl->node_states[i].node_id <<": connected" ;
ndbout_c(" (Version %d.%d.%d)",
getMajor(version) ,
@@ -1638,7 +1639,7 @@ CommandInterpreter::executeStatus(int processId,
}else
ndbout << "Node "<< cl->node_states[i].node_id <<": not connected" << endl;
return 0;
- }
+ }
status = cl->node_states[i].node_status;
startPhase = cl->node_states[i].start_phase;
version = cl->node_states[i].version;