mirror of
https://github.com/MariaDB/server.git
synced 2025-01-20 22:12:30 +01:00
Merge mskold@build.mysql.com:/home/bk/mysql-4.1
into mysql.com:/usr/local/home/marty/MySQL/test/mysql-4.1
This commit is contained in:
commit
f3083b5ec1
1 changed files with 3 additions and 5 deletions
|
@ -440,13 +440,11 @@ ClusterMgr::reportNodeFailed(NodeId nodeId){
|
|||
theNode.nfCompleteRep = false;
|
||||
|
||||
if(noOfConnectedNodes == 0){
|
||||
Uint32 theData[1];
|
||||
NFCompleteRep * rep = (NFCompleteRep *)&theData[0];
|
||||
|
||||
NFCompleteRep rep;
|
||||
for(Uint32 i = 1; i<MAX_NODES; i++){
|
||||
if(theNodes[i].defined && theNodes[i].nfCompleteRep == false){
|
||||
rep->failedNodeId = i;
|
||||
execNF_COMPLETEREP(theData);
|
||||
rep.failedNodeId = i;
|
||||
execNF_COMPLETEREP((Uint32*)&rep);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue