MySQL 8.4.2
Source Code Documentation
Long_undo_state Struct Reference

State of long running undo operation for purpose of writing periodic messages to error log. More...

#include <row0undo.h>

Public Member Functions

 Long_undo_state (const trx_t &)
 

Public Attributes

ib::Throttler throttler
 timer for printing out log messages for long-running rollbacks More...
 
bool have_logged {false}
 flag which is set when at least one message is logged More...
 
undo_no_t rows_total
 total number of rows to roll back More...
 
trx_state_t trx_state
 transaction state before rollback More...
 

Detailed Description

State of long running undo operation for purpose of writing periodic messages to error log.

Constructor & Destructor Documentation

◆ Long_undo_state()

Long_undo_state::Long_undo_state ( const trx_t trx)
explicit

Member Data Documentation

◆ have_logged

bool Long_undo_state::have_logged {false}

flag which is set when at least one message is logged

◆ rows_total

undo_no_t Long_undo_state::rows_total

total number of rows to roll back

◆ throttler

ib::Throttler Long_undo_state::throttler

timer for printing out log messages for long-running rollbacks

◆ trx_state

trx_state_t Long_undo_state::trx_state

transaction state before rollback


The documentation for this struct was generated from the following files: