Commit e8f6b3b2 authored by Marko Mäkelä's avatar Marko Mäkelä

Restore a DBUG_SUICIDE for binlog.binlog_truncate_multi_engine

This fixes up 4489a89c
and the test binlog.binlog_truncate_multi_engine
that indirectly invokes the DBUG_SUICIDE.
parent 5f160b4d
...@@ -836,6 +836,7 @@ void log_write_up_to(lsn_t lsn, bool flush_to_disk, bool rotate_key, ...@@ -836,6 +836,7 @@ void log_write_up_to(lsn_t lsn, bool flush_to_disk, bool rotate_key,
ret_lsn2= flush_lock.release(flush_lsn); ret_lsn2= flush_lock.release(flush_lsn);
log_flush_notify(flush_lsn); log_flush_notify(flush_lsn);
DBUG_EXECUTE_IF("crash_after_log_write_upto", DBUG_SUICIDE(););
} }
if (ret_lsn1 || ret_lsn2) if (ret_lsn1 || ret_lsn2)
......
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