summaryrefslogtreecommitdiff
path: root/storage/innobase/row/row0log.cc
diff options
context:
space:
mode:
Diffstat (limited to 'storage/innobase/row/row0log.cc')
-rw-r--r--storage/innobase/row/row0log.cc10
1 files changed, 4 insertions, 6 deletions
diff --git a/storage/innobase/row/row0log.cc b/storage/innobase/row/row0log.cc
index eca894c4fd4..ff190bd0779 100644
--- a/storage/innobase/row/row0log.cc
+++ b/storage/innobase/row/row0log.cc
@@ -3842,9 +3842,8 @@ UndorecApplier::get_old_rec(const dtuple_t &tuple, dict_index_t *index,
ut_ad(len == DATA_ROLL_PTR_LEN);
if (is_same(roll_ptr))
return version;
- trx_undo_prev_version_build(*clust_rec, &mtr, version, index,
- *offsets, heap, &prev_version, nullptr,
- nullptr, 0);
+ trx_undo_prev_version_build(version, index, *offsets, heap, &prev_version,
+ nullptr, nullptr, 0);
version= prev_version;
}
while (version);
@@ -4014,9 +4013,8 @@ void UndorecApplier::log_update(const dtuple_t &tuple,
if (match_rec == rec)
copy_rec= rec_copy(mem_heap_alloc(
heap, rec_offs_size(offsets)), match_rec, offsets);
- trx_undo_prev_version_build(rec, &mtr, match_rec, clust_index,
- offsets, heap, &prev_version, nullptr,
- nullptr, 0);
+ trx_undo_prev_version_build(match_rec, clust_index, offsets, heap,
+ &prev_version, nullptr, nullptr, 0);
prev_offsets= rec_get_offsets(prev_version, clust_index, prev_offsets,
clust_index->n_core_fields,