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:
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user