Skip to content

Commit

Permalink
MLOG-13101 Debug assertion failed in recv_parse_or_apply_log_rec_body()
Browse files Browse the repository at this point in the history
recv_parse_or_apply_log_rec_body(): Tolerate MLOG_4BYTES for
dummy-writing the FIL_PAGE_SPACE_ID, written by fil_crypt_rotate_page().
  • Loading branch information
dr-m committed Jan 8, 2018
1 parent 8099941 commit 899c589
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions storage/innobase/log/log0recv.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1166,6 +1166,8 @@ recv_parse_or_apply_log_rec_body(
redo log been written with something
older than InnoDB Plugin 1.0.4. */
ut_ad(0
/* fil_crypt_rotate_page() writes this */
|| offs == FIL_PAGE_SPACE_ID
|| offs == IBUF_TREE_SEG_HEADER
+ IBUF_HEADER + FSEG_HDR_SPACE
|| offs == IBUF_TREE_SEG_HEADER
Expand Down

0 comments on commit 899c589

Please sign in to comment.