diff options
author | unknown <gni/root@dev3-221.dev.cn.tlan> | 2007-02-15 17:22:33 +0800 |
---|---|---|
committer | unknown <gni/root@dev3-221.dev.cn.tlan> | 2007-02-15 17:22:33 +0800 |
commit | 12f8f00240482040b57146cb551d9a1fe3ec03f0 (patch) | |
tree | 4d83f5e2c931b1f015fd7051b26978d4639127f7 /ndb | |
parent | 75d614e053301595a350c7ee610fd3e121ad4399 (diff) | |
parent | 35f79a6f5d30bbfa5d7abdd6e5bc096ab2dbaa90 (diff) | |
download | mariadb-git-12f8f00240482040b57146cb551d9a1fe3ec03f0.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
ndb/src/mgmclient/CommandInterpreter.cpp:
Adding 'version' variable assigns the right value
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; |