mariadb/storage/innobase/unittest
Marko Mäkelä 68cac26108 MDEV-35049: Fix bogus BTR_CUR_HASH_FAIL on PAGE_CUR_LE
btr_cur_t::search_leaf(): Do not attempt to use the adaptive
hash index for PAGE_CUR_G or PAGE_CUR_L, because those modes
expect an inequal result, and the adaptive hash index can only
deliver equal results.

btr_cur_t::check_mismatch(): Only handle PAGE_CUR_LE and PAGE_CUR_GE.
For PAGE_CUR_LE (bool ge=false), qualify a full match for the last
record of a page that is not at the end of the index. Previously,
an adaptive hash index lookup would fail when the record is at the end
of an index page but not at the end of the index. This would lead to
unnecessary rebuild of the adaptive hash index in read-only workloads.

Reviewed by: Vladislav Lesin
2025-01-10 16:40:29 +02:00
..
CMakeLists.txt MDEV-35049: Use CRC-32C and avoid allocating heap 2025-01-10 16:39:44 +02:00
innodb_ahi-t.cc MDEV-35049: Fix bogus BTR_CUR_HASH_FAIL on PAGE_CUR_LE 2025-01-10 16:40:29 +02:00
innodb_fts-t.cc Merge 10.5 into 10.6 2021-10-21 16:06:34 +03:00
innodb_rbt-t.cc Merge 10.5 into 10.6 2024-02-13 20:42:59 +02:00
innodb_sync-t.cc MDEV-35587 unit.innodb_sync leaks memory on mac 2024-12-12 10:27:36 +11:00