diff --git a/include/page0zip.h b/include/page0zip.h index f2f25009cf3..bc073f4fba5 100644 --- a/include/page0zip.h +++ b/include/page0zip.h @@ -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 diff --git a/page/page0cur.c b/page/page0cur.c index d853519efe9..0fb1ad3593a 100644 --- a/page/page0cur.c +++ b/page/page0cur.c @@ -1051,7 +1051,7 @@ use_heap: 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); diff --git a/page/page0zip.c b/page/page0zip.c index ce295a100f3..ae9bef05e25 100644 --- a/page/page0zip.c +++ b/page/page0zip.c @@ -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);