mariadb/storage/innobase/btr
Marko Mäkelä 7ead48a72b MDEV-34458: Remove more traces of BTR_MODIFY_PREV
In commit 2f6df93748
we fixed an observed case of the bug by removing
some code related to the no longer needed
BTR_MODIFY_PREV mode.

In commit 73ad436e16
an alternative fix was applied that also fixes the
BTR_SEARCH_PREV case.

Let us clean up some implicit references to BTR_MODIFY_PREV
that were missed in 2f6df93748.

btr_pcur_move_backward_from_page(): Assume that the latch mode was
BTR_SEARCH_LEAF.

btr_pcur_move_to_prev(): Assert that the latch mode is BTR_SEARCH_LEAF.
This function is mostly invoked in row0sel.cc for read operations,
as well as in row0merge.cc for reading from the clustered index.
All callers indeed use a cursor in the BTR_SEARCH_LEAF mode.
2024-07-29 14:13:30 +03:00
..
btr0btr.cc Merge branch '10.11' into 11.1 2024-07-08 22:40:16 +02:00
btr0bulk.cc
btr0cur.cc MDEV-34458: Remove more traces of BTR_MODIFY_PREV 2024-07-29 14:13:30 +03:00
btr0pcur.cc MDEV-34458: Remove more traces of BTR_MODIFY_PREV 2024-07-29 14:13:30 +03:00
btr0sea.cc