diff options
author | unknown <tomas@poseidon.ndb.mysql.com> | 2005-11-09 23:08:53 +0100 |
---|---|---|
committer | unknown <tomas@poseidon.ndb.mysql.com> | 2005-11-09 23:08:53 +0100 |
commit | d7f076de17f80bdf810bb63aac4e0971da29b5f2 (patch) | |
tree | 6261ef2c0aa0fce0c56da08b5ffb61dadaf7b66c /storage | |
parent | c4239fee2178566283c28e098909774f429489cb (diff) | |
download | mariadb-git-d7f076de17f80bdf810bb63aac4e0971da29b5f2.tar.gz |
stilled memleak in ndb Gci_container
Diffstat (limited to 'storage')
-rw-r--r-- | storage/ndb/src/ndbapi/NdbEventOperationImpl.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/storage/ndb/src/ndbapi/NdbEventOperationImpl.cpp b/storage/ndb/src/ndbapi/NdbEventOperationImpl.cpp index 76352a9000c..70fff2b032d 100644 --- a/storage/ndb/src/ndbapi/NdbEventOperationImpl.cpp +++ b/storage/ndb/src/ndbapi/NdbEventOperationImpl.cpp @@ -855,6 +855,11 @@ find_bucket(Vector<Gci_container> * active, Uint64 gci) void NdbEventBuffer::execSUB_GCP_COMPLETE_REP(const SubGcpCompleteRep * const rep) { + if (unlikely(m_active_op_count == 0)) + { + DBUG_VOID_RETURN; + } + DBUG_ENTER("NdbEventBuffer::execSUB_GCP_COMPLETE_REP"); const Uint64 gci= rep->gci; @@ -862,11 +867,6 @@ NdbEventBuffer::execSUB_GCP_COMPLETE_REP(const SubGcpCompleteRep * const rep) Gci_container *bucket = find_bucket(&m_active_gci, gci); - if (unlikely(m_active_op_count == 0)) - { - DBUG_VOID_RETURN; - } - if (unlikely(bucket == 0)) { /** |