List:Commits« Previous MessageNext Message »
From:tomas Date:May 8 2006 12:11pm
Subject:bk commit into 5.1 tree (tomas:1.2383)
View as plain text  
Below is the list of changes that have just been committed into a local
5.1 repository of tomas. When tomas does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html

ChangeSet
  1.2383 06/05/08 14:11:15 tomas@stripped +1 -0
  removed lead of ndb eventoperations on ndb object delete

  storage/ndb/src/ndbapi/NdbEventOperationImpl.cpp
    1.54 06/05/08 14:11:07 tomas@stripped +7 -0
    removed lead of ndb eventoperations on ndb object delete

# This is a BitKeeper patch.  What follows are the unified diffs for the
# set of deltas contained in the patch.  The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User:	tomas
# Host:	poseidon.ndb.mysql.com
# Root:	/home/tomas/mysql-5.1-new-ndb

--- 1.53/storage/ndb/src/ndbapi/NdbEventOperationImpl.cpp	2006-04-24 13:44:50 +02:00
+++ 1.54/storage/ndb/src/ndbapi/NdbEventOperationImpl.cpp	2006-05-08 14:11:07 +02:00
@@ -966,6 +966,13 @@
 NdbEventBuffer::~NdbEventBuffer()
 {
   // todo lock?  what if receive thread writes here?
+  NdbEventOperationImpl* op= m_dropped_ev_op;  
+  while ((op = m_dropped_ev_op))
+  {
+    m_dropped_ev_op = m_dropped_ev_op->m_next;
+    delete op->m_facade;
+  }
+
   for (unsigned j= 0; j < m_allocated_data.size(); j++)
   {
     unsigned sz= m_allocated_data[j]->sz;
Thread
bk commit into 5.1 tree (tomas:1.2383)tomas8 May