diff options
author | gni/root@dev3-221.dev.cn.tlan <> | 2007-02-15 17:22:33 +0800 |
---|---|---|
committer | gni/root@dev3-221.dev.cn.tlan <> | 2007-02-15 17:22:33 +0800 |
commit | 5a26866f049fa29ff4fa28d33108e5670ce2362e (patch) | |
tree | 4d83f5e2c931b1f015fd7051b26978d4639127f7 /ndb | |
parent | 097c8431e2d1b1b65701678e481f007ad911e60b (diff) | |
parent | 8761abba0e107de4436e3c8eaf4d88df5fa407ec (diff) | |
download | mariadb-git-5a26866f049fa29ff4fa28d33108e5670ce2362e.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-bug21715
Diffstat (limited to 'ndb')
-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; |