Commit 2998a012 authored by marko's avatar marko

branches/zip: page_zip_dir_insert(): Remove unused parameters index, offsets.

parent 3a27b5c8
......@@ -257,9 +257,7 @@ page_zip_dir_insert(
const byte* prev_rec,/* in: record after which to insert */
const byte* free_rec,/* in: record from which rec was
allocated, or NULL */
byte* rec, /* in: record to insert */
dict_index_t* index, /* in: index of rec */
const ulint* offsets);/* in: rec_get_offsets(rec) */
byte* rec); /* in: record to insert */
/**************************************************************************
Shift the dense page directory and the array of BLOB pointers
......
......@@ -1051,7 +1051,7 @@ page_cur_insert_rec_low(
rec_set_heap_no_new(insert_rec, heap_no);
if (UNIV_LIKELY_NULL(page_zip)) {
page_zip_dir_insert(page_zip, current_rec, free_rec,
insert_rec, index, offsets);
insert_rec);
}
} else {
ut_ad(!page_zip);
......
......@@ -2831,16 +2831,12 @@ page_zip_dir_insert(
const byte* prev_rec,/* in: record after which to insert */
const byte* free_rec,/* in: record from which rec was
allocated, or NULL */
byte* rec, /* in: record to insert */
dict_index_t* index, /* in: index of rec */
const ulint* offsets)/* in: rec_get_offsets(rec) */
byte* rec) /* in: record to insert */
{
ulint n_dense;
byte* slot_rec;
byte* slot_free;
ut_ad(rec_offs_validate(rec, index, offsets));
ut_ad(rec_offs_comp(offsets));
ut_ad(prev_rec != rec);
ut_ad(page_rec_get_next((rec_t*) prev_rec) == rec);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment