MDEV-21351 Replace recv_sys.heap with list of buf_block_t

- Fixing innodb.undo_truncate_recover test case
parent a99d4f26
......@@ -1846,6 +1846,10 @@ inline bool page_recv_t::recs_t::trim(lsn_t start_lsn)
{
if (!*prev) return true;
if ((*prev)->lsn >= start_lsn) return false;
#ifdef UNIV_DEBUG
const recv_t *recv= static_cast<const recv_t*>(*prev);
recv->data->unfix();
#endif
}
}
......@@ -2253,6 +2257,7 @@ void recv_apply_hashed_log_recs(bool last_batch)
<< " < " << i.lsn);
ignore:
recv_sys_t::map::iterator r = p++;
ut_d(r->second.log.unfix(););
recv_sys.pages.erase(r);
continue;
}
......
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