Commit 157ee7e6 authored by unknown's avatar unknown
Browse files

Merge dev3-221.dev.cn.tlan:/home/ngb/mysql/mysql-4.1/mysql-4.1-bug21715

into  dev3-221.dev.cn.tlan:/home/ngb/mysql/mysql-5.0/bug21715


ndb/src/mgmclient/CommandInterpreter.cpp:
  Adding 'version' variable assigns the right value to prevent from the version(0.0.0.0) status
parents 61aee35c 35f79a6f
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -2122,6 +2122,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) ,