Skip to content

Commit e8f6b3b

Browse files
committed
Restore a DBUG_SUICIDE for binlog.binlog_truncate_multi_engine
This fixes up 4489a89 and the test binlog.binlog_truncate_multi_engine that indirectly invokes the DBUG_SUICIDE.
1 parent 5f160b4 commit e8f6b3b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

storage/innobase/log/log0log.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -836,6 +836,7 @@ void log_write_up_to(lsn_t lsn, bool flush_to_disk, bool rotate_key,
836836
ret_lsn2= flush_lock.release(flush_lsn);
837837

838838
log_flush_notify(flush_lsn);
839+
DBUG_EXECUTE_IF("crash_after_log_write_upto", DBUG_SUICIDE(););
839840
}
840841

841842
if (ret_lsn1 || ret_lsn2)

0 commit comments

Comments
 (0)