Merge whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-telco-gca

into  whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-new-ndb
This commit is contained in:
unknown 2007-06-20 05:46:36 +02:00
commit e258e2340b

View File

@ -140,7 +140,7 @@ RWPool::release(Ptr<void> ptr)
Uint32 ff = page->m_first_free; Uint32 ff = page->m_first_free;
* (record_ptr + m_record_info.m_offset_next_pool) = ff; * (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; page->m_ref_count = ref_cnt - 1;
if (ff == REC_NIL) if (ff == REC_NIL)