Commit 38dda1f0 authored by Marko Mäkelä's avatar Marko Mäkelä

MDEV-29475 trx_undo_rseg_free() does not write redo log

trx_undo_rseg_free(): Revert an inadvertent change that was done
as part of the merge a42c80bd
parent c0470caf
...@@ -822,9 +822,8 @@ static void trx_undo_seg_free(const trx_undo_t *undo) ...@@ -822,9 +822,8 @@ static void trx_undo_seg_free(const trx_undo_t *undo)
buf_block_t* rseg_header = trx_rsegf_get( buf_block_t* rseg_header = trx_rsegf_get(
rseg->space, rseg->page_no, &mtr); rseg->space, rseg->page_no, &mtr);
compile_time_assert(FIL_NULL == 0xffffffff); compile_time_assert(FIL_NULL == 0xffffffff);
memset(TRX_RSEG + TRX_RSEG_UNDO_SLOTS mtr.memset(rseg_header, TRX_RSEG + TRX_RSEG_UNDO_SLOTS
+ undo->id * TRX_RSEG_SLOT_SIZE + + undo->id * TRX_RSEG_SLOT_SIZE, 4, 0xff);
rseg_header->frame, 0xff, 4);
MONITOR_DEC(MONITOR_NUM_UNDO_SLOT_USED); MONITOR_DEC(MONITOR_NUM_UNDO_SLOT_USED);
} }
......
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