From e0560fc4cfa7b40dd3083a1b78c873ec51689cff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marko=20M=C3=A4kel=C3=A4?= Date: Tue, 21 Mar 2023 14:36:38 +0200 Subject: Remove a bogus UNIV_ZIP_DEBUG check buf_LRU_block_remove_hashed(): Ever since commit 2e814d4702d71a04388386a9f591d14a35980bfe we could get page_zip_validate() failures after an ALTER TABLE operation was aborted and BtrBulk::pageCommit() had never been executed on some blocks. --- storage/innobase/buf/buf0lru.cc | 6 ------ 1 file changed, 6 deletions(-) diff --git a/storage/innobase/buf/buf0lru.cc b/storage/innobase/buf/buf0lru.cc index 20625620332..0043f2c4343 100644 --- a/storage/innobase/buf/buf0lru.cc +++ b/storage/innobase/buf/buf0lru.cc @@ -1762,14 +1762,8 @@ buf_LRU_block_remove_hashed( break; case FIL_PAGE_TYPE_ZBLOB: case FIL_PAGE_TYPE_ZBLOB2: - break; case FIL_PAGE_INDEX: case FIL_PAGE_RTREE: -#if defined UNIV_ZIP_DEBUG && defined BTR_CUR_HASH_ADAPT - ut_a(page_zip_validate( - &bpage->zip, page, - ((buf_block_t*) bpage)->index)); -#endif /* UNIV_ZIP_DEBUG && BTR_CUR_HASH_ADAPT */ break; default: ib::error() << "The compressed page to be" -- cgit v1.2.1