Commit 899c5899 authored by Marko Mäkelä's avatar Marko Mäkelä

MLOG-13101 Debug assertion failed in recv_parse_or_apply_log_rec_body()

recv_parse_or_apply_log_rec_body(): Tolerate MLOG_4BYTES for
dummy-writing the FIL_PAGE_SPACE_ID, written by fil_crypt_rotate_page().
parent 8099941b
...@@ -1166,6 +1166,8 @@ recv_parse_or_apply_log_rec_body( ...@@ -1166,6 +1166,8 @@ recv_parse_or_apply_log_rec_body(
redo log been written with something redo log been written with something
older than InnoDB Plugin 1.0.4. */ older than InnoDB Plugin 1.0.4. */
ut_ad(0 ut_ad(0
/* fil_crypt_rotate_page() writes this */
|| offs == FIL_PAGE_SPACE_ID
|| offs == IBUF_TREE_SEG_HEADER || offs == IBUF_TREE_SEG_HEADER
+ IBUF_HEADER + FSEG_HDR_SPACE + IBUF_HEADER + FSEG_HDR_SPACE
|| offs == IBUF_TREE_SEG_HEADER || offs == IBUF_TREE_SEG_HEADER
......
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