From: Date: October 18 2006 8:54pm Subject: bk commit into 5.1 tree (jonas:1.2308) BUG#23430 List-Archive: http://lists.mysql.com/commits/13908 X-Bug: 23430 Message-Id: <20061018185430.0DEF356189E@perch.ndb.mysql.com> 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-18 20:54:25+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-18 20:54:23+02:00, jonas@stripped +2 -1 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-18 20:54:29 +02:00 +++ 1.12/storage/ndb/src/kernel/blocks/dbtup/DbtupAbort.cpp 2006-10-18 20:54:29 +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);