summaryrefslogtreecommitdiff
path: root/storage/innobase/row/row0log.cc
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2022-12-13 18:24:51 +0200
committerMarko Mäkelä <marko.makela@mariadb.com>2022-12-13 18:24:51 +0200
commitb7914f562da0d4bce7c1c26b119e7063594be974 (patch)
treedf85f229a896cf3e6b24ebc34063b078774b3834 /storage/innobase/row/row0log.cc
parent21ef68d52e13ec146dab6cf54e0d3eca87306d58 (diff)
parentd7a4ce3c804334914b2431e91d6328945dce6b02 (diff)
downloadmariadb-git-b7914f562da0d4bce7c1c26b119e7063594be974.tar.gz
Merge 10.8 into 10.9
Diffstat (limited to 'storage/innobase/row/row0log.cc')
-rw-r--r--storage/innobase/row/row0log.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/storage/innobase/row/row0log.cc b/storage/innobase/row/row0log.cc
index c5f18b650dc..64b4d02fa18 100644
--- a/storage/innobase/row/row0log.cc
+++ b/storage/innobase/row/row0log.cc
@@ -2093,6 +2093,9 @@ func_exit_committed:
index->set_modified(mtr);
pcur.btr_cur.page_cur.index = index;
+ ut_free(pcur.old_rec_buf);
+ pcur.old_rec_buf = nullptr;
+
if (ROW_FOUND != row_search_index_entry(
entry, BTR_MODIFY_TREE, &pcur, &mtr)) {
ut_ad(0);