CommandInterpreter.cpp:
Bug #11050 ndb_mgm "show" prints incorrectly after master data node fails
This commit is contained in:
parent
8d4a10977a
commit
d5e7d650f0
@ -1190,7 +1190,8 @@ CommandInterpreter::executeShow(char* parameters)
|
||||
api_nodes++;
|
||||
break;
|
||||
case NDB_MGM_NODE_TYPE_NDB:
|
||||
if (state->node_states[i].dynamic_id < master_id)
|
||||
if (state->node_states[i].dynamic_id &&
|
||||
state->node_states[i].dynamic_id < master_id)
|
||||
master_id= state->node_states[i].dynamic_id;
|
||||
ndb_nodes++;
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user