MySQL 8.3.0
Source Code Documentation
mtr_t::Impl Struct Reference

State variables of the mtr. More...

#include <mtr0mtr.h>

Public Attributes

mtr_buf_t m_memo
 memo stack for locks etc. More...
 
mtr_buf_t m_log
 mini-transaction log More...
 
bool m_inside_ibuf
 true if inside ibuf changes More...
 
bool m_modifications
 true if the mini-transaction might have modified buffer pool pages More...
 
bool m_marked_nolog
 true if mtr is forced to NO_LOG mode because redo logging is disabled globally. More...
 
size_t m_shard_index
 Shard index used for incrementing global counter at start. More...
 
uint32_t m_n_log_recs
 Count of how many page initial log records have been written to the mtr log. More...
 
mtr_log_t m_log_mode
 specifies which operations should be logged; default value MTR_LOG_ALL More...
 
mtr_state_t m_state
 State of the transaction. More...
 
Flush_observerm_flush_observer
 Flush Observer. More...
 
ulint m_magic_n
 For checking corruption. More...
 
mtr_tm_mtr
 Owning mini-transaction. More...
 

Detailed Description

State variables of the mtr.

Member Data Documentation

◆ m_flush_observer

Flush_observer* mtr_t::Impl::m_flush_observer

Flush Observer.

◆ m_inside_ibuf

bool mtr_t::Impl::m_inside_ibuf

true if inside ibuf changes

◆ m_log

mtr_buf_t mtr_t::Impl::m_log

mini-transaction log

◆ m_log_mode

mtr_log_t mtr_t::Impl::m_log_mode

specifies which operations should be logged; default value MTR_LOG_ALL

◆ m_magic_n

ulint mtr_t::Impl::m_magic_n

For checking corruption.

◆ m_marked_nolog

bool mtr_t::Impl::m_marked_nolog

true if mtr is forced to NO_LOG mode because redo logging is disabled globally.

In this case, mtr increments the global counter at start and must decrement it back at commit.

◆ m_memo

mtr_buf_t mtr_t::Impl::m_memo

memo stack for locks etc.

◆ m_modifications

bool mtr_t::Impl::m_modifications

true if the mini-transaction might have modified buffer pool pages

◆ m_mtr

mtr_t* mtr_t::Impl::m_mtr

Owning mini-transaction.

◆ m_n_log_recs

uint32_t mtr_t::Impl::m_n_log_recs

Count of how many page initial log records have been written to the mtr log.

◆ m_shard_index

size_t mtr_t::Impl::m_shard_index

Shard index used for incrementing global counter at start.

We need to use the same shard while decrementing counter at commit.

◆ m_state

mtr_state_t mtr_t::Impl::m_state

State of the transaction.


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