List:Commits« Previous MessageNext Message »
From:jonas Date:October 20 2006 12:21pm
Subject:bk commit into 5.1 tree (jonas:1.2304) BUG#23430
View as plain text  
Below is the list of changes that have just been committed into a local
5.1 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@stripped, 2006-10-20 14:21:30+02:00, jonas@stripped +1 -0
  ndb - bug#23430
      make sure not to release log buffer twice (or several times) in case of abort of multi update

  storage/ndb/src/kernel/blocks/dbtup/DbtupAbort.cpp@stripped, 2006-10-20 14:21:28+02:00, jonas@stripped +2 -1
    ndb - bug#23430
        make sure not to release log buffer twice (or several times) in case of abort of multi update

# 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:	jonas
# Host:	perch.ndb.mysql.com
# Root:	/home/jonas/src/51-work

--- 1.11/storage/ndb/src/kernel/blocks/dbtup/DbtupAbort.cpp	2006-10-20 14:21:34 +02:00
+++ 1.12/storage/ndb/src/kernel/blocks/dbtup/DbtupAbort.cpp	2006-10-20 14:21:34 +02:00
@@ -352,7 +352,8 @@
   tabPtr.i= fragPtr.p->fragTableId;
   ptrCheckGuard(tabPtr, cnoOfTablerec, tablerec);
 
-  if (regOperPtr->m_undo_buffer_space)
+  if (regOperPtr->m_undo_buffer_space &&
+      (regOperPtr->is_first_operation() && regOperPtr->is_last_operation()))
   {
     c_lgman->free_log_space(fragPtr.p->m_logfile_group_id, 
 			    regOperPtr->m_undo_buffer_space);
Thread
bk commit into 5.1 tree (jonas:1.2304) BUG#23430jonas20 Oct