summaryrefslogtreecommitdiff
path: root/storage/innobase/page/page0cur.cc
diff options
context:
space:
mode:
Diffstat (limited to 'storage/innobase/page/page0cur.cc')
-rw-r--r--storage/innobase/page/page0cur.cc9
1 files changed, 5 insertions, 4 deletions
diff --git a/storage/innobase/page/page0cur.cc b/storage/innobase/page/page0cur.cc
index 41ae2638f47..b43f6e0b900 100644
--- a/storage/innobase/page/page0cur.cc
+++ b/storage/innobase/page/page0cur.cc
@@ -84,7 +84,8 @@ page_cur_try_search_shortcut(
low_match = up_match = std::min(*ilow_matched_fields,
*iup_matched_fields);
- if (cmp_dtuple_rec_with_match(tuple, rec, offsets, &low_match) < 0) {
+ if (cmp_dtuple_rec_with_match(tuple, rec, index, offsets,
+ &low_match) < 0) {
goto exit_func;
}
@@ -94,7 +95,7 @@ page_cur_try_search_shortcut(
index->n_core_fields,
dtuple_get_n_fields(tuple), &heap);
- if (cmp_dtuple_rec_with_match(tuple, next_rec, offsets,
+ if (cmp_dtuple_rec_with_match(tuple, next_rec, index, offsets,
&up_match) >= 0) {
goto exit_func;
}
@@ -398,7 +399,7 @@ page_cur_search_with_match(
dtuple_get_n_fields_cmp(tuple), &heap);
cmp = cmp_dtuple_rec_with_match(
- tuple, mid_rec, offsets, &cur_matched_fields);
+ tuple, mid_rec, index, offsets, &cur_matched_fields);
if (cmp > 0) {
low_slot_match:
@@ -452,7 +453,7 @@ up_slot_match:
dtuple_get_n_fields_cmp(tuple), &heap);
cmp = cmp_dtuple_rec_with_match(
- tuple, mid_rec, offsets, &cur_matched_fields);
+ tuple, mid_rec, index, offsets, &cur_matched_fields);
if (cmp > 0) {
low_rec_match: