List:Internals« Previous MessageNext Message »
From:jonas.oreland Date:July 21 2005 9:22am
Subject:bk commit into 5.0 tree (joreland:1.1874)
View as plain text  
Below is the list of changes that have just been committed into a local
5.0 repository of jonas. When jonas 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.1874 05/07/21 11:22:21 joreland@stripped +1 -0
  Merge mysql.com:/home/jonas/src/mysql-4.1
  into  mysql.com:/home/jonas/src/mysql-5.0

  ndb/src/kernel/blocks/dbdict/Dbdict.cpp
    1.47 05/07/21 11:22:17 joreland@stripped +0 -0
    Auto merged

# 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:	joreland
# Host:	eel.(none)
# Root:	/home/jonas/src/mysql-5.0/RESYNC

--- 1.46/ndb/src/kernel/blocks/dbdict/Dbdict.cpp	2005-07-20 13:22:37 +02:00
+++ 1.47/ndb/src/kernel/blocks/dbdict/Dbdict.cpp	2005-07-21 11:22:17 +02:00
@@ -3094,6 +3094,7 @@
   alterTabPtr.p->m_coordinatorRef = reference();
   alterTabPtr.p->m_fragmentsPtrI = RNIL;
   alterTabPtr.p->m_dihAddFragPtr = RNIL;
+  alterTabPtr.p->m_alterTableId = tablePtr.p->tableId;
 
   // Send prepare request to all alive nodes
   SimplePropertiesSectionWriter w(getSectionSegmentPool());
@@ -3127,7 +3128,7 @@
   ndbrequire(c_opCreateTable.find(alterTabPtr, callbackData));
 
   TableRecordPtr tablePtr;
-  c_tableRecordPool.getPtr(tablePtr, alterTabPtr.p->m_tablePtrI, true);
+  c_tableRecordPool.getPtr(tablePtr, alterTabPtr.p->m_alterTableId, true);
 
   Mutex mutex(signal, c_mutexMgr, alterTabPtr.p->m_startLcpMutex);
   mutex.unlock(); // ignore response
@@ -3145,6 +3146,10 @@
     req->senderData = alterTabPtr.p->m_senderData;
     req->senderRef = alterTabPtr.p->m_senderRef;
     alterTableRef(signal, req, AlterTableRef::BackupInProgress);
+
+    c_tableRecordPool.getPtr(tablePtr, alterTabPtr.p->m_tablePtrI);  
+    releaseTableObject(tablePtr.i, false);
+
     c_opCreateTable.release(alterTabPtr);
     c_blockState = BS_IDLE;
     return;
Thread
bk commit into 5.0 tree (joreland:1.1874)jonas.oreland21 Jul