Commit eeae012b authored by tomas@poseidon.(none)'s avatar tomas@poseidon.(none)

Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1

into poseidon.(none):/home/tomas/mysql-4.1-ndb-merge
parents 513805d8 8df4fa5d
...@@ -4,6 +4,6 @@ TCP ...@@ -4,6 +4,6 @@ TCP
ok ok
SOCKET SOCKET
ok ok
ERROR 2047: Wrong or unknown protocol ERROR 2047 (HY000): Wrong or unknown protocol
ERROR 2047: Wrong or unknown protocol ERROR 2047 (HY000): Wrong or unknown protocol
Unknown option to protocol: NullS Unknown option to protocol: NullS
...@@ -452,13 +452,11 @@ ClusterMgr::reportNodeFailed(NodeId nodeId){ ...@@ -452,13 +452,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