1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00

Follow-up to reverting MDEV-6938

Do not call mtr_t::start() with trx_t*.
This commit is contained in:
Marko Mäkelä
2018-02-01 14:08:06 +02:00
parent f4f46ec13a
commit 97a39ba212
2 changed files with 3 additions and 3 deletions

View File

@@ -2011,7 +2011,7 @@ trx_undo_report_row_operation(
latches, such as SYNC_FSP and SYNC_FSP_PAGE. */
mtr_commit(&mtr);
mtr.start(trx);
mtr.start();
if (is_temp) {
mtr.set_log_mode(MTR_LOG_NO_REDO);
}
@@ -2050,7 +2050,7 @@ trx_undo_report_row_operation(
/* We have to extend the undo log by one page */
ut_ad(++loop_count < 2);
mtr.start(trx);
mtr.start();
if (is_temp) {
mtr.set_log_mode(MTR_LOG_NO_REDO);

View File

@@ -1591,7 +1591,7 @@ trx_undo_assign_undo(
|| rseg == trx->rsegs.m_noredo.rseg);
ut_ad(type == TRX_UNDO_INSERT || type == TRX_UNDO_UPDATE);
mtr.start(trx);
mtr.start();
if (is_temp) {
mtr.set_log_mode(MTR_LOG_NO_REDO);