Commit 825b6a35 authored by Marko Mäkelä's avatar Marko Mäkelä

MDEV-13452 Assertion `!recv_no_log_write' failed at startup

The previous fix (commit dcdc1c6d)
should have removed the assertion from log_close(), because every
caller that requires this assertion is already asserting that log
writes are allowed. When fil_names_clear() is called, it must be
able to write the MLOG_CHECKPOINT records. The purpose of the debug
variable recv_no_log_write is to prevent the creation of page-level
redo log records, or modifications to persistent data.
parent ef8e1a35
......@@ -484,7 +484,6 @@ log_close(void)
lsn_t checkpoint_age;
ut_ad(log_mutex_own());
ut_ad(!recv_no_log_write);
lsn = log->lsn;
......
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