mirror of
https://github.com/MariaDB/server.git
synced 2026-10-23 18:49:29 +03:00
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.
This commit is contained in:
@@ -131,6 +131,7 @@ fil_page_type_validate(
|
||||
page_type == FIL_PAGE_TYPE_XDES ||
|
||||
page_type == FIL_PAGE_TYPE_BLOB ||
|
||||
page_type == FIL_PAGE_TYPE_ZBLOB ||
|
||||
page_type == FIL_PAGE_TYPE_ZBLOB2 ||
|
||||
page_type == FIL_PAGE_TYPE_COMPRESSED))) {
|
||||
|
||||
uint key_version = mach_read_from_4(page + FIL_PAGE_FILE_FLUSH_LSN_OR_KEY_VERSION);
|
||||
@@ -165,6 +166,7 @@ fil_page_type_validate(
|
||||
page_type == FIL_PAGE_TYPE_XDES ||
|
||||
page_type == FIL_PAGE_TYPE_BLOB ||
|
||||
page_type == FIL_PAGE_TYPE_ZBLOB ||
|
||||
page_type == FIL_PAGE_TYPE_ZBLOB2 ||
|
||||
page_type == FIL_PAGE_TYPE_COMPRESSED);
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user