List:Internals« Previous MessageNext Message »
From:tomas Date:January 18 2006 10:52am
Subject:bk commit into 5.1 tree (tomas:1.1969) BUG#13078
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.1969 06/01/18 11:52:17 tomas@stripped +2 -0
  Bug #13078

  storage/ndb/src/ndbapi/NdbRecAttr.cpp
    1.24 06/01/18 11:52:09 tomas@stripped +4 -0
    Bug #13078

  storage/ndb/src/ndbapi/NdbImpl.hpp
    1.16 06/01/18 11:52:09 tomas@stripped +6 -4
    Bug #13078

# 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/wl2325-alcatel

--- 1.15/storage/ndb/src/ndbapi/NdbImpl.hpp	2005-10-07 10:58:07 +02:00
+++ 1.16/storage/ndb/src/ndbapi/NdbImpl.hpp	2006-01-18 11:52:09 +01:00
@@ -95,11 +95,9 @@
   /**
    * NOTE free lists must be _after_ theNdbObjectIdMap take
    *   assure that destructors are run in correct order
+   * NOTE these has to be in this specific order to make destructor run in
+   *      correct order
    */
-  Ndb_free_list_t<NdbTransaction> theConIdleList; 
-  Ndb_free_list_t<NdbOperation>  theOpIdleList;  
-  Ndb_free_list_t<NdbIndexScanOperation> theScanOpIdleList;
-  Ndb_free_list_t<NdbIndexOperation> theIndexOpIdleList;
   Ndb_free_list_t<NdbRecAttr> theRecAttrIdleList;  
   Ndb_free_list_t<NdbApiSignal> theSignalIdleList;
   Ndb_free_list_t<NdbLabel> theLabelList;
@@ -108,6 +106,10 @@
   Ndb_free_list_t<NdbCall> theCallList;
   Ndb_free_list_t<NdbBlob> theNdbBlobIdleList;
   Ndb_free_list_t<NdbReceiver> theScanList;
+  Ndb_free_list_t<NdbIndexScanOperation> theScanOpIdleList;
+  Ndb_free_list_t<NdbOperation>  theOpIdleList;  
+  Ndb_free_list_t<NdbIndexOperation> theIndexOpIdleList;
+  Ndb_free_list_t<NdbTransaction> theConIdleList; 
 };
 
 #ifdef VM_TRACE

--- 1.23/storage/ndb/src/ndbapi/NdbRecAttr.cpp	2005-10-07 01:06:22 +02:00
+++ 1.24/storage/ndb/src/ndbapi/NdbRecAttr.cpp	2006-01-18 11:52:09 +01:00
@@ -24,6 +24,7 @@
 
 NdbRecAttr::NdbRecAttr(Ndb*)
 {
+  theStorageX = 0;
   init();
 }
 
@@ -52,6 +53,9 @@
   theValue = aValue;
   theNULLind = 0;
   m_nullable = anAttrInfo->m_nullable;
+
+  if (theStorageX)
+    delete[] theStorageX;
 
   // check alignment to signal data
   // a future version could check alignment per data type as well
Thread
bk commit into 5.1 tree (tomas:1.1969) BUG#13078tomas18 Jan