mariadb/storage
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
..
archive cleanup: remove unconditional #ifdef's 2024-11-05 14:00:47 -08:00
blackhole Merge 11.4 into 11.7 2024-12-02 17:51:17 +02:00
columnstore cleanup: extract transaction-related part of handlerton 2024-11-05 14:00:50 -08:00
connect Merge 11.4 into 11.7 2025-01-09 09:41:38 +02:00
csv Merge 11.4 into 11.7 2024-12-02 17:51:17 +02:00
example Merge 11.4 into 11.7 2025-01-09 09:41:38 +02:00
federated Merge 11.4 into 11.7 2024-12-02 17:51:17 +02:00
federatedx Merge 11.4 into 11.7 2024-12-02 17:51:17 +02:00
heap Merge 11.4 into 11.7 2025-01-09 09:41:38 +02:00
innobase MDEV-35049: Fix bogus BTR_CUR_HASH_FAIL on PAGE_CUR_LE 2025-01-10 16:40:29 +02:00
maria Merge 11.4 into 11.7 2025-01-09 09:41:38 +02:00
mroonga Merge 11.4 into 11.7 2025-01-09 09:41:38 +02:00
myisam Merge 11.4 into 11.7 2025-01-09 09:41:38 +02:00
myisammrg Merge 11.4 into 11.7 2025-01-09 09:41:38 +02:00
oqgraph Merge 11.4 into 11.7 2024-12-02 17:51:17 +02:00
perfschema Merge 11.4 into 11.7 2024-12-02 17:51:17 +02:00
rocksdb Merge 11.7 into main 2025-01-09 13:46:06 +02:00
sequence cleanup: extract transaction-related part of handlerton 2024-11-05 14:00:50 -08:00
sphinx Merge 11.4 into 11.7 2024-12-02 17:51:17 +02:00
spider Merge 11.7 into main 2025-01-09 13:46:06 +02:00
test_sql_discovery MDEV-19123 Change default charset from latin1 to utf8mb4 2024-07-11 10:21:07 +04:00