Bug #29229 memory corruption in dbtup

parent 405f6a16
...@@ -140,7 +140,7 @@ RWPool::release(Ptr<void> ptr) ...@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment