Commit 97a39ba2 authored by Marko Mäkelä's avatar Marko Mäkelä

Follow-up to reverting MDEV-6938

Do not call mtr_t::start() with trx_t*.
parent f4f46ec1
...@@ -2011,7 +2011,7 @@ trx_undo_report_row_operation( ...@@ -2011,7 +2011,7 @@ trx_undo_report_row_operation(
latches, such as SYNC_FSP and SYNC_FSP_PAGE. */ latches, such as SYNC_FSP and SYNC_FSP_PAGE. */
mtr_commit(&mtr); mtr_commit(&mtr);
mtr.start(trx); mtr.start();
if (is_temp) { if (is_temp) {
mtr.set_log_mode(MTR_LOG_NO_REDO); mtr.set_log_mode(MTR_LOG_NO_REDO);
} }
...@@ -2050,7 +2050,7 @@ trx_undo_report_row_operation( ...@@ -2050,7 +2050,7 @@ trx_undo_report_row_operation(
/* We have to extend the undo log by one page */ /* We have to extend the undo log by one page */
ut_ad(++loop_count < 2); ut_ad(++loop_count < 2);
mtr.start(trx); mtr.start();
if (is_temp) { if (is_temp) {
mtr.set_log_mode(MTR_LOG_NO_REDO); mtr.set_log_mode(MTR_LOG_NO_REDO);
......
...@@ -1591,7 +1591,7 @@ trx_undo_assign_undo( ...@@ -1591,7 +1591,7 @@ trx_undo_assign_undo(
|| rseg == trx->rsegs.m_noredo.rseg); || rseg == trx->rsegs.m_noredo.rseg);
ut_ad(type == TRX_UNDO_INSERT || type == TRX_UNDO_UPDATE); ut_ad(type == TRX_UNDO_INSERT || type == TRX_UNDO_UPDATE);
mtr.start(trx); mtr.start();
if (is_temp) { if (is_temp) {
mtr.set_log_mode(MTR_LOG_NO_REDO); mtr.set_log_mode(MTR_LOG_NO_REDO);
......
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