Browse Source

Relax debug assertions for undo tablespace recovery

pull/871/head
Marko Mäkelä 7 years ago
parent
commit
93ed717b3d
  1. 2
      storage/innobase/log/log0recv.cc

2
storage/innobase/log/log0recv.cc

@ -1277,6 +1277,7 @@ parse_log:
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 @@ parse_log:
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

Loading…
Cancel
Save