Skip to content

Commit 57058cb

Browse files
author
Jan Lindström
committed
MDEV-10377: innodb.innodb_blob_truncate fails in buildbot: Failing assertion: page_type == 34354 || page_type == 37401 || page_type == 17855 || page_type == 2 || page_type == 3 || ...
Page type FIL_PAGE_TYPE_ZBLOB2 was missing from assertion.
1 parent ee3c99d commit 57058cb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

storage/innobase/include/fil0fil.ic

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ fil_page_type_validate(
131131
page_type == FIL_PAGE_TYPE_XDES ||
132132
page_type == FIL_PAGE_TYPE_BLOB ||
133133
page_type == FIL_PAGE_TYPE_ZBLOB ||
134+
page_type == FIL_PAGE_TYPE_ZBLOB2 ||
134135
page_type == FIL_PAGE_TYPE_COMPRESSED))) {
135136

136137
uint key_version = mach_read_from_4(page + FIL_PAGE_FILE_FLUSH_LSN_OR_KEY_VERSION);
@@ -165,6 +166,7 @@ fil_page_type_validate(
165166
page_type == FIL_PAGE_TYPE_XDES ||
166167
page_type == FIL_PAGE_TYPE_BLOB ||
167168
page_type == FIL_PAGE_TYPE_ZBLOB ||
169+
page_type == FIL_PAGE_TYPE_ZBLOB2 ||
168170
page_type == FIL_PAGE_TYPE_COMPRESSED);
169171
return false;
170172
}

0 commit comments

Comments
 (0)