Commit f3083b5e authored by mskold@mysql.com's avatar mskold@mysql.com

Merge mskold@build.mysql.com:/home/bk/mysql-4.1

into mysql.com:/usr/local/home/marty/MySQL/test/mysql-4.1
parents baa0f71d 8df4fa5d
...@@ -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