summaryrefslogtreecommitdiff
path: root/innobase/page
diff options
context:
space:
mode:
authorunknown <marko@hundin.mysql.fi>2005-02-04 15:44:09 +0200
committerunknown <marko@hundin.mysql.fi>2005-02-04 15:44:09 +0200
commite16b1b4a79210476229302f107dfa1c4c473bab2 (patch)
tree2f93d8d6a803b4a123949f427e7db683e645c8fb /innobase/page
parent888c211805fdc501e078c7f8576821b121eb6637 (diff)
downloadmariadb-git-e16b1b4a79210476229302f107dfa1c4c473bab2.tar.gz
InnoDB: A small cleanup: remove two duplicate rec_get_offsets() calls
innobase/page/page0cur.c: Remove two duplicate rec_get_offsets() calls
Diffstat (limited to 'innobase/page')
-rw-r--r--innobase/page/page0cur.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/innobase/page/page0cur.c b/innobase/page/page0cur.c
index fc94fc4b1e0..488d2757115 100644
--- a/innobase/page/page0cur.c
+++ b/innobase/page/page0cur.c
@@ -311,9 +311,6 @@ page_cur_search_with_match(
low_matched_bytes = cur_matched_bytes;
} else if (cmp == -1) {
- offsets = rec_get_offsets(mid_rec, index, offsets,
- dtuple_get_n_fields_cmp(tuple), &heap);
-
if (mode == PAGE_CUR_LE_OR_EXTENDS
&& page_cur_rec_field_extends(tuple, mid_rec,
offsets, cur_matched_fields)) {
@@ -366,9 +363,6 @@ page_cur_search_with_match(
low_matched_bytes = cur_matched_bytes;
} else if (cmp == -1) {
- offsets = rec_get_offsets(mid_rec, index, offsets,
- dtuple_get_n_fields_cmp(tuple), &heap);
-
if (mode == PAGE_CUR_LE_OR_EXTENDS
&& page_cur_rec_field_extends(tuple, mid_rec,
offsets, cur_matched_fields)) {