mariadb/storage/innobase/buf
Marko Mäkelä 9b967c4c31 MDEV-26826 fixup: ROW_FORMAT=COMPRESSED may corrupt buf_pool.page_hash
In commit c091a0bc8d we removed
the use of the HASH_ macros for inserting into
buf_pool.page_hash, or accessing buf_page_t::hash.

However, the binary buddy allocator for block->page.zip.data would
still use the HASH_ macros. HASH_INSERT and not HASH_DELETE would reset
the next-block pointer to the null pointer. Our replacement of
HASH_DELETE() will reset the next-block pointer, and the replacement of
HASH_INSERT() assumes that the pointer is the null pointer.

buf_LRU_block_free_non_file_page(): Assert that the next-block pointer
is the null pointer.

buf_buddy_block_free(): Reset the pointer before invoking
buf_LRU_block_free_non_file_page(). Without this, the added
assertion would fail in the test encryption.innochecksum.
2021-11-05 08:09:33 +02:00
..
buf0block_hint.cc MDEV-26769 InnoDB does not support hardware lock elision 2021-10-22 12:38:45 +03:00
buf0buddy.cc MDEV-26826 fixup: ROW_FORMAT=COMPRESSED may corrupt buf_pool.page_hash 2021-11-05 08:09:33 +02:00
buf0buf.cc MDEV-26826 fixup: ROW_FORMAT=COMPRESSED may corrupt buf_pool.page_hash 2021-11-05 08:09:33 +02:00
buf0checksum.cc MDEV-25105 Remove innodb_checksum_algorithm values none,innodb,... 2021-03-11 12:46:18 +02:00
buf0dblwr.cc merge 10.5 to 10.6 2021-07-16 22:12:09 +02:00
buf0dump.cc Merge 10.5 into 10.6 2021-09-07 10:37:36 +03:00
buf0flu.cc MDEV-26826 Duplicated computations of buf_pool.page_hash addresses 2021-10-22 12:33:37 +03:00
buf0lru.cc MDEV-26826 fixup: ROW_FORMAT=COMPRESSED may corrupt buf_pool.page_hash 2021-11-05 08:09:33 +02:00
buf0rea.cc MDEV-26769 InnoDB does not support hardware lock elision 2021-10-22 12:38:45 +03:00