mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 20:12:31 +01: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:
parent
ee3c99dfc7
commit
57058cb677
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue