Skip to content
Permalink
Browse files
Relax debug assertions for undo tablespace recovery
  • Loading branch information
dr-m committed Sep 7, 2018
1 parent 9f6a0d2 commit 93ed717
Showing 1 changed file with 2 additions and 0 deletions.
@@ -1277,6 +1277,7 @@ recv_parse_or_apply_log_rec_body(
redo log been written with something
older than InnoDB Plugin 1.0.4. */
ut_ad(offs == FIL_PAGE_TYPE
|| srv_is_undo_tablespace(space_id)
|| offs == IBUF_TREE_SEG_HEADER
+ IBUF_HEADER + FSEG_HDR_OFFSET
|| offs == PAGE_BTR_IBUF_FREE_LIST
@@ -1302,6 +1303,7 @@ recv_parse_or_apply_log_rec_body(
ut_ad(0
/* fil_crypt_rotate_page() writes this */
|| offs == FIL_PAGE_SPACE_ID
|| srv_is_undo_tablespace(space_id)
|| offs == IBUF_TREE_SEG_HEADER
+ IBUF_HEADER + FSEG_HDR_SPACE
|| offs == IBUF_TREE_SEG_HEADER

0 comments on commit 93ed717

Please sign in to comment.