summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--storage/innobase/trx/trx0rec.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/storage/innobase/trx/trx0rec.cc b/storage/innobase/trx/trx0rec.cc
index 9c7106facaf..e011b3f5d8e 100644
--- a/storage/innobase/trx/trx0rec.cc
+++ b/storage/innobase/trx/trx0rec.cc
@@ -2054,12 +2054,11 @@ trx_undo_report_row_operation(
goto err_exit;
}
- mtr_commit(&mtr);
+ mtr.commit();
} else {
/* Success */
- mtr_commit(&mtr);
-
undo->top_page_no = undo_block->page.id.page_no();
+ mtr.commit();
undo->top_offset = offset;
undo->top_undo_no = trx->undo_no++;
undo->guess_block = undo_block;