Commit a0df2693 authored by Marko Mäkelä's avatar Marko Mäkelä

Remove an unused parameter

btr_store_big_rec_extern_fields(): Remove the unused parameter 'upd'
that was added in https://github.com/mysql/mysql-server/commit/ce0a1e85e24e48b8171f767b44330d
and merged to MariaDB 10.2.2
in commit 2e814d47.
parent 8e255b98
...@@ -564,8 +564,7 @@ PageBulk::storeExt( ...@@ -564,8 +564,7 @@ PageBulk::storeExt(
page_cur->block = m_block; page_cur->block = m_block;
dberr_t err = btr_store_big_rec_extern_fields( dberr_t err = btr_store_big_rec_extern_fields(
&btr_pcur, NULL, offsets, big_rec, m_mtr, &btr_pcur, offsets, big_rec, m_mtr, BTR_STORE_INSERT_BULK);
BTR_STORE_INSERT_BULK);
ut_ad(page_offset(m_cur_rec) == page_offset(page_cur->rec)); ut_ad(page_offset(m_cur_rec) == page_offset(page_cur->rec));
......
...@@ -6647,7 +6647,6 @@ btr_store_big_rec_extern_fields( ...@@ -6647,7 +6647,6 @@ btr_store_big_rec_extern_fields(
btr_pcur_t* pcur, /*!< in/out: a persistent cursor. if btr_pcur_t* pcur, /*!< in/out: a persistent cursor. if
btr_mtr is restarted, then this can btr_mtr is restarted, then this can
be repositioned. */ be repositioned. */
const upd_t* upd, /*!< in: update vector */
ulint* offsets, /*!< in/out: rec_get_offsets() on ulint* offsets, /*!< in/out: rec_get_offsets() on
pcur. the "external storage" flags pcur. the "external storage" flags
in offsets will correctly correspond in offsets will correctly correspond
......
...@@ -656,7 +656,6 @@ btr_store_big_rec_extern_fields( ...@@ -656,7 +656,6 @@ btr_store_big_rec_extern_fields(
btr_pcur_t* pcur, /*!< in/out: a persistent cursor. if btr_pcur_t* pcur, /*!< in/out: a persistent cursor. if
btr_mtr is restarted, then this can btr_mtr is restarted, then this can
be repositioned. */ be repositioned. */
const upd_t* upd, /*!< in: update vector */
ulint* offsets, /*!< in/out: rec_get_offsets() on ulint* offsets, /*!< in/out: rec_get_offsets() on
pcur. the "external storage" flags pcur. the "external storage" flags
in offsets will correctly correspond in offsets will correctly correspond
......
...@@ -398,7 +398,7 @@ row_ins_clust_index_entry_by_modify( ...@@ -398,7 +398,7 @@ row_ins_clust_index_entry_by_modify(
DEBUG_SYNC_C("before_row_ins_upd_extern"); DEBUG_SYNC_C("before_row_ins_upd_extern");
err = btr_store_big_rec_extern_fields( err = btr_store_big_rec_extern_fields(
pcur, update, *offsets, big_rec, mtr, pcur, *offsets, big_rec, mtr,
BTR_STORE_INSERT_UPDATE); BTR_STORE_INSERT_UPDATE);
DEBUG_SYNC_C("after_row_ins_upd_extern"); DEBUG_SYNC_C("after_row_ins_upd_extern");
dtuple_big_rec_free(big_rec); dtuple_big_rec_free(big_rec);
...@@ -2502,7 +2502,7 @@ row_ins_index_entry_big_rec( ...@@ -2502,7 +2502,7 @@ row_ins_index_entry_big_rec(
DEBUG_SYNC_C_IF_THD(thd, "before_row_ins_extern"); DEBUG_SYNC_C_IF_THD(thd, "before_row_ins_extern");
error = btr_store_big_rec_extern_fields( error = btr_store_big_rec_extern_fields(
&pcur, 0, offsets, big_rec, &mtr, BTR_STORE_INSERT); &pcur, offsets, big_rec, &mtr, BTR_STORE_INSERT);
DEBUG_SYNC_C_IF_THD(thd, "after_row_ins_extern"); DEBUG_SYNC_C_IF_THD(thd, "after_row_ins_extern");
if (error == DB_SUCCESS if (error == DB_SUCCESS
......
...@@ -2307,7 +2307,7 @@ row_log_table_apply_update( ...@@ -2307,7 +2307,7 @@ row_log_table_apply_update(
if (big_rec) { if (big_rec) {
if (error == DB_SUCCESS) { if (error == DB_SUCCESS) {
error = btr_store_big_rec_extern_fields( error = btr_store_big_rec_extern_fields(
&pcur, update, cur_offsets, big_rec, &mtr, &pcur, cur_offsets, big_rec, &mtr,
BTR_STORE_UPDATE); BTR_STORE_UPDATE);
} }
......
...@@ -2895,8 +2895,7 @@ row_upd_clust_rec( ...@@ -2895,8 +2895,7 @@ row_upd_clust_rec(
DEBUG_SYNC_C("before_row_upd_extern"); DEBUG_SYNC_C("before_row_upd_extern");
err = btr_store_big_rec_extern_fields( err = btr_store_big_rec_extern_fields(
pcur, node->update, offsets, big_rec, mtr, pcur, offsets, big_rec, mtr, BTR_STORE_UPDATE);
BTR_STORE_UPDATE);
DEBUG_SYNC_C("after_row_upd_extern"); DEBUG_SYNC_C("after_row_upd_extern");
} }
......
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