summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2021-11-25 18:50:29 +0200
committerMarko Mäkelä <marko.makela@mariadb.com>2021-11-25 18:50:29 +0200
commite8f6b3b20ed0fb79d6db62ad6752560b2537049e (patch)
treed81006dc93c5032157f21f2b9327b7a5624a8fbd
parent5f160b4d864866e30f49bac2ee4f51b4cf530a86 (diff)
downloadmariadb-git-e8f6b3b20ed0fb79d6db62ad6752560b2537049e.tar.gz
Restore a DBUG_SUICIDE for binlog.binlog_truncate_multi_engine
This fixes up 4489a89c71ea78f2562159ca0303fbb83da5baa0 and the test binlog.binlog_truncate_multi_engine that indirectly invokes the DBUG_SUICIDE.
-rw-r--r--storage/innobase/log/log0log.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/storage/innobase/log/log0log.cc b/storage/innobase/log/log0log.cc
index 1ff603a90a1..37199bee616 100644
--- a/storage/innobase/log/log0log.cc
+++ b/storage/innobase/log/log0log.cc
@@ -836,6 +836,7 @@ repeat:
ret_lsn2= flush_lock.release(flush_lsn);
log_flush_notify(flush_lsn);
+ DBUG_EXECUTE_IF("crash_after_log_write_upto", DBUG_SUICIDE(););
}
if (ret_lsn1 || ret_lsn2)