mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 05:22:25 +01:00
Bug #29229 memory corruption in dbtup
This commit is contained in:
parent
405f6a1681
commit
0510a696a9
1 changed files with 1 additions and 1 deletions
|
@ -140,7 +140,7 @@ RWPool::release(Ptr<void> ptr)
|
|||
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)
|
||||
|
|
Loading…
Reference in a new issue