mirror of
https://github.com/MariaDB/server.git
synced 2025-01-20 22:12:30 +01:00
branches/zip: page_zip_dir_insert(): Remove unused parameters index, offsets.
This commit is contained in:
parent
3ce5d06e66
commit
98b296946f
3 changed files with 3 additions and 9 deletions
|
@ -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 @@ 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);
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue