summaryrefslogtreecommitdiff
path: root/innobase/row/row0ins.c
diff options
context:
space:
mode:
authorunknown <marko@hundin.mysql.fi>2004-12-08 15:20:58 +0200
committerunknown <marko@hundin.mysql.fi>2004-12-08 15:20:58 +0200
commitf9bd116c297f80613ed0e51750e20e5fcb623f75 (patch)
tree5272431593f811f100e49cab43250218383bbd06 /innobase/row/row0ins.c
parent746799fb23aaef1705e9ee66de6a2cb77a8af2c8 (diff)
downloadmariadb-git-f9bd116c297f80613ed0e51750e20e5fcb623f75.tar.gz
InnoDB: Make btr_search_drop_page_hash_index() work with the compact
record format without requiring the doubly linked list added by Heikki in ChangeSet@1.1627.16.2 innobase/btr/btr0sea.c: btr_search_drop_page_hash_index(): support the compact record format innobase/ibuf/ibuf0ibuf.c: ibuf_insert_to_index_page(): Remove unnecessary computation of field offsets. innobase/row/row0ins.c: row_ins_index_entry_low(): Remove unnecessary computation of field offsets.
Diffstat (limited to 'innobase/row/row0ins.c')
-rw-r--r--innobase/row/row0ins.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/innobase/row/row0ins.c b/innobase/row/row0ins.c
index 1c55005dcfa..a87a08fa3fe 100644
--- a/innobase/row/row0ins.c
+++ b/innobase/row/row0ins.c
@@ -1928,9 +1928,8 @@ row_ins_index_entry_low(
buf_frame_align(btr_cur_get_rec(&cursor))));
if (!page_rec_is_supremum(first_rec)) {
- offsets = rec_get_offsets(first_rec, index,
- ULINT_UNDEFINED, heap);
- ut_a(rec_offs_n_fields(offsets) == dtuple_get_n_fields(entry));
+ ut_a(rec_get_n_fields(first_rec, index)
+ == dtuple_get_n_fields(entry));
}
n_unique = dict_index_get_n_unique(index);