diff options
author | unknown <gni/root@dev3-221.dev.cn.tlan> | 2007-05-08 10:02:55 +0800 |
---|---|---|
committer | unknown <gni/root@dev3-221.dev.cn.tlan> | 2007-05-08 10:02:55 +0800 |
commit | 1b146e4de02f8f0bc46d25615913f54ab9e0da13 (patch) | |
tree | 2aa571de7dd67b61498d04bac8ba75be54c4ac31 /ndb/src | |
parent | 35ff851457e4b83bd0daf7467e5c9d09eaf4a220 (diff) | |
parent | 8638d4313868f507a6747eea2869a866a88948cd (diff) | |
download | mariadb-git-1b146e4de02f8f0bc46d25615913f54ab9e0da13.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/src')
-rw-r--r-- | ndb/src/mgmclient/CommandInterpreter.cpp | 3 |
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; |