Skip to content

Commit a0df269

Browse files
committed
Remove an unused parameter
btr_store_big_rec_extern_fields(): Remove the unused parameter 'upd' that was added in mysql/mysql-server@ce0a1e8 and merged to MariaDB 10.2.2 in commit 2e814d4.
1 parent 8e255b9 commit a0df269

File tree

6 files changed

+5
-9
lines changed

6 files changed

+5
-9
lines changed

storage/innobase/btr/btr0bulk.cc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -564,8 +564,7 @@ PageBulk::storeExt(
564564
page_cur->block = m_block;
565565

566566
dberr_t err = btr_store_big_rec_extern_fields(
567-
&btr_pcur, NULL, offsets, big_rec, m_mtr,
568-
BTR_STORE_INSERT_BULK);
567+
&btr_pcur, offsets, big_rec, m_mtr, BTR_STORE_INSERT_BULK);
569568

570569
ut_ad(page_offset(m_cur_rec) == page_offset(page_cur->rec));
571570

storage/innobase/btr/btr0cur.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6647,7 +6647,6 @@ btr_store_big_rec_extern_fields(
66476647
btr_pcur_t* pcur, /*!< in/out: a persistent cursor. if
66486648
btr_mtr is restarted, then this can
66496649
be repositioned. */
6650-
const upd_t* upd, /*!< in: update vector */
66516650
ulint* offsets, /*!< in/out: rec_get_offsets() on
66526651
pcur. the "external storage" flags
66536652
in offsets will correctly correspond

storage/innobase/include/btr0cur.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -656,7 +656,6 @@ btr_store_big_rec_extern_fields(
656656
btr_pcur_t* pcur, /*!< in/out: a persistent cursor. if
657657
btr_mtr is restarted, then this can
658658
be repositioned. */
659-
const upd_t* upd, /*!< in: update vector */
660659
ulint* offsets, /*!< in/out: rec_get_offsets() on
661660
pcur. the "external storage" flags
662661
in offsets will correctly correspond

storage/innobase/row/row0ins.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ row_ins_clust_index_entry_by_modify(
398398

399399
DEBUG_SYNC_C("before_row_ins_upd_extern");
400400
err = btr_store_big_rec_extern_fields(
401-
pcur, update, *offsets, big_rec, mtr,
401+
pcur, *offsets, big_rec, mtr,
402402
BTR_STORE_INSERT_UPDATE);
403403
DEBUG_SYNC_C("after_row_ins_upd_extern");
404404
dtuple_big_rec_free(big_rec);
@@ -2502,7 +2502,7 @@ row_ins_index_entry_big_rec(
25022502

25032503
DEBUG_SYNC_C_IF_THD(thd, "before_row_ins_extern");
25042504
error = btr_store_big_rec_extern_fields(
2505-
&pcur, 0, offsets, big_rec, &mtr, BTR_STORE_INSERT);
2505+
&pcur, offsets, big_rec, &mtr, BTR_STORE_INSERT);
25062506
DEBUG_SYNC_C_IF_THD(thd, "after_row_ins_extern");
25072507

25082508
if (error == DB_SUCCESS

storage/innobase/row/row0log.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2307,7 +2307,7 @@ row_log_table_apply_update(
23072307
if (big_rec) {
23082308
if (error == DB_SUCCESS) {
23092309
error = btr_store_big_rec_extern_fields(
2310-
&pcur, update, cur_offsets, big_rec, &mtr,
2310+
&pcur, cur_offsets, big_rec, &mtr,
23112311
BTR_STORE_UPDATE);
23122312
}
23132313

storage/innobase/row/row0upd.cc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2895,8 +2895,7 @@ row_upd_clust_rec(
28952895

28962896
DEBUG_SYNC_C("before_row_upd_extern");
28972897
err = btr_store_big_rec_extern_fields(
2898-
pcur, node->update, offsets, big_rec, mtr,
2899-
BTR_STORE_UPDATE);
2898+
pcur, offsets, big_rec, mtr, BTR_STORE_UPDATE);
29002899
DEBUG_SYNC_C("after_row_upd_extern");
29012900
}
29022901

0 commit comments

Comments
 (0)