diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2021-11-05 08:09:33 +0200 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2021-11-05 08:09:33 +0200 |
commit | 9b967c4c31555174a293922d4717d83b7d68bc76 (patch) | |
tree | 605edc037f0059e95721e26b762ae990129a57b1 /man/mysql_client_test.1 | |
parent | 20f7fc6ef2da695cdfefbf43f7ccdc63cbacb358 (diff) | |
download | mariadb-git-9b967c4c31555174a293922d4717d83b7d68bc76.tar.gz |
MDEV-26826 fixup: ROW_FORMAT=COMPRESSED may corrupt buf_pool.page_hash
In commit c091a0bc8da87045f10bfc96618ed7194768fa2d 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.
Diffstat (limited to 'man/mysql_client_test.1')
0 files changed, 0 insertions, 0 deletions