From: Date: June 20 2007 5:42am Subject: bk commit into 5.1 tree (tomas:1.2497) BUG#29229 List-Archive: http://lists.mysql.com/commits/29145 X-Bug: 29229 Message-Id: <20070620034200.1FDAC18191A65@linux.local> 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@stripped, 2007-06-20 05:41:54+02:00, tomas@stripped +1 -0 Bug #29229 memory corruption in dbtup storage/ndb/src/kernel/vm/RWPool.cpp@stripped, 2007-06-20 05:41:52+02:00, tomas@stripped +1 -1 Bug #29229 memory corruption in dbtup # 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: whalegate.ndb.mysql.com # Root: /home/tomas/mysql-5.1-telco-gca --- 1.4/storage/ndb/src/kernel/vm/RWPool.cpp 2007-02-21 16:33:12 +01:00 +++ 1.5/storage/ndb/src/kernel/vm/RWPool.cpp 2007-06-20 05:41:52 +02:00 @@ -140,7 +140,7 @@ Uint32 ff = page->m_first_free; * (record_ptr + m_record_info.m_offset_next_pool) = ff; - page->m_first_free = ptr.i; + page->m_first_free = ptr.i & POOL_RECORD_MASK; page->m_ref_count = ref_cnt - 1; if (ff == REC_NIL)