diff options
Diffstat (limited to 'storage/innobase/include/fil0fil.ic')
-rw-r--r-- | storage/innobase/include/fil0fil.ic | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/innobase/include/fil0fil.ic b/storage/innobase/include/fil0fil.ic index 24e4157d1f3..fd5f5bc1db9 100644 --- a/storage/innobase/include/fil0fil.ic +++ b/storage/innobase/include/fil0fil.ic @@ -86,7 +86,7 @@ fil_page_type_validate( fil_space_t* space, const byte* page) { - ulint page_type = mach_read_from_2(page + FIL_PAGE_TYPE); + const uint16_t page_type = fil_page_get_type(page); if ((page_type & 1U << FIL_PAGE_COMPRESS_FCRC32_MARKER) && space->full_crc32() |