mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 19:11:46 +01:00
branches/zip: page_zip_dir_insert(): Remove unused parameters index, offsets.
This commit is contained in:
parent
3a27b5c8c7
commit
2998a01230
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* prev_rec,/* in: record after which to insert */
|
||||||
const byte* free_rec,/* in: record from which rec was
|
const byte* free_rec,/* in: record from which rec was
|
||||||
allocated, or NULL */
|
allocated, or NULL */
|
||||||
byte* rec, /* in: record to insert */
|
byte* rec); /* in: record to insert */
|
||||||
dict_index_t* index, /* in: index of rec */
|
|
||||||
const ulint* offsets);/* in: rec_get_offsets(rec) */
|
|
||||||
|
|
||||||
/**************************************************************************
|
/**************************************************************************
|
||||||
Shift the dense page directory and the array of BLOB pointers
|
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);
|
rec_set_heap_no_new(insert_rec, heap_no);
|
||||||
if (UNIV_LIKELY_NULL(page_zip)) {
|
if (UNIV_LIKELY_NULL(page_zip)) {
|
||||||
page_zip_dir_insert(page_zip, current_rec, free_rec,
|
page_zip_dir_insert(page_zip, current_rec, free_rec,
|
||||||
insert_rec, index, offsets);
|
insert_rec);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
ut_ad(!page_zip);
|
ut_ad(!page_zip);
|
||||||
|
|
|
@ -2831,16 +2831,12 @@ page_zip_dir_insert(
|
||||||
const byte* prev_rec,/* in: record after which to insert */
|
const byte* prev_rec,/* in: record after which to insert */
|
||||||
const byte* free_rec,/* in: record from which rec was
|
const byte* free_rec,/* in: record from which rec was
|
||||||
allocated, or NULL */
|
allocated, or NULL */
|
||||||
byte* rec, /* in: record to insert */
|
byte* rec) /* in: record to insert */
|
||||||
dict_index_t* index, /* in: index of rec */
|
|
||||||
const ulint* offsets)/* in: rec_get_offsets(rec) */
|
|
||||||
{
|
{
|
||||||
ulint n_dense;
|
ulint n_dense;
|
||||||
byte* slot_rec;
|
byte* slot_rec;
|
||||||
byte* slot_free;
|
byte* slot_free;
|
||||||
|
|
||||||
ut_ad(rec_offs_validate(rec, index, offsets));
|
|
||||||
ut_ad(rec_offs_comp(offsets));
|
|
||||||
ut_ad(prev_rec != rec);
|
ut_ad(prev_rec != rec);
|
||||||
ut_ad(page_rec_get_next((rec_t*) prev_rec) == rec);
|
ut_ad(page_rec_get_next((rec_t*) prev_rec) == rec);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue