Commit 9c71d59d authored by unknown's avatar unknown

bug#5435

parent e2252a49
...@@ -440,13 +440,11 @@ ClusterMgr::reportNodeFailed(NodeId nodeId){ ...@@ -440,13 +440,11 @@ ClusterMgr::reportNodeFailed(NodeId nodeId){
theNode.nfCompleteRep = false; theNode.nfCompleteRep = false;
if(noOfConnectedNodes == 0){ if(noOfConnectedNodes == 0){
Uint32 theData[1]; NFCompleteRep rep;
NFCompleteRep * rep = (NFCompleteRep *)&theData[0];
for(Uint32 i = 1; i<MAX_NODES; i++){ for(Uint32 i = 1; i<MAX_NODES; i++){
if(theNodes[i].defined && theNodes[i].nfCompleteRep == false){ if(theNodes[i].defined && theNodes[i].nfCompleteRep == false){
rep->failedNodeId = i; rep.failedNodeId = i;
execNF_COMPLETEREP(theData); execNF_COMPLETEREP((Uint32*)&rep);
} }
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment