Skip to content

Commit 10d251e

Browse files
committed
MDEV-26450 fixup: Remove a bogus assertion
mtr_t::commit_shrink(): Do not assert that some previously clean pages will be flagged as modified by this mini-transaction. It could be the case that there had been no recent write-back of any of the undo tablespace pages that we are modifying when truncating the tablespace. It suffices to assert that some pages were modified again: ut_ad(m_modifications). This fixes up commit f5fddae
1 parent 553a4d6 commit 10d251e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

storage/innobase/mtr/mtr0mtr.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -572,7 +572,6 @@ void mtr_t::commit_shrink(fil_space_t &space)
572572
ut_ad(!is_inside_ibuf());
573573
ut_ad(!high_level_read_only);
574574
ut_ad(m_modifications);
575-
ut_ad(m_made_dirty);
576575
ut_ad(!recv_recovery_is_on());
577576
ut_ad(m_log_mode == MTR_LOG_ALL);
578577
ut_ad(UT_LIST_GET_LEN(space.chain) == 1);

0 commit comments

Comments
 (0)