mirror of
https://github.com/MariaDB/server.git
synced 2025-02-01 03:21:53 +01:00
Merge dev3-221.dev.cn.tlan:/home/ngb/mysql/mysql-5.0/bug21715
into dev3-221.dev.cn.tlan:/home/ngb/mysql/mysql-5.1/mysql-5.1-bug21715
This commit is contained in:
commit
7751f965da
1 changed files with 2 additions and 1 deletions
|
@ -2056,6 +2056,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) ,
|
||||
|
@ -2065,7 +2066,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;
|
||||
|
|
Loading…
Add table
Reference in a new issue