diff options
author | unknown <tomas@poseidon.(none)> | 2004-09-10 14:55:42 +0000 |
---|---|---|
committer | unknown <tomas@poseidon.(none)> | 2004-09-10 14:55:42 +0000 |
commit | 9c71d59d080647cfc3eb91cd4d514dab2362aead (patch) | |
tree | c5eefa36e50f4441ed34ff66f1ccc5e98b554ac6 /ndb/src/ndbapi/ClusterMgr.cpp | |
parent | e2252a49f7393076107ee5e228be79660e7faecb (diff) | |
download | mariadb-git-9c71d59d080647cfc3eb91cd4d514dab2362aead.tar.gz |
bug#5435
Diffstat (limited to 'ndb/src/ndbapi/ClusterMgr.cpp')
-rw-r--r-- | ndb/src/ndbapi/ClusterMgr.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/ndb/src/ndbapi/ClusterMgr.cpp b/ndb/src/ndbapi/ClusterMgr.cpp index b9947fcf0e7..3e1f0e48b1c 100644 --- a/ndb/src/ndbapi/ClusterMgr.cpp +++ b/ndb/src/ndbapi/ClusterMgr.cpp @@ -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); } } } |