◆ Command()
mtr_t::Command::Command |
( |
mtr_t * |
mtr | ) |
|
|
inlineexplicit |
Constructor.
Takes ownership of the mtr->m_impl, is responsible for deleting it.
- Parameters
-
[in,out] | mtr | Mini-transaction |
◆ ~Command()
mtr_t::Command::~Command |
( |
| ) |
|
|
inline |
◆ add_dirty_blocks_to_flush_list()
void mtr_t::Command::add_dirty_blocks_to_flush_list |
( |
lsn_t |
start_lsn, |
|
|
lsn_t |
end_lsn |
|
) |
| |
Add blocks modified in this mini-transaction to the flush list.
◆ execute()
void mtr_t::Command::execute |
( |
| ) |
|
Write the redo log record, add dirty pages to the flush list and release the resources.
◆ init()
void mtr_t::Command::init |
( |
mtr_t * |
mtr | ) |
|
|
inline |
◆ prepare_write()
ulint mtr_t::Command::prepare_write |
( |
| ) |
|
|
private |
Prepare to write the mini-transaction log to the redo log buffer.
- Returns
- number of bytes to write in finish_write()
◆ release_all()
void mtr_t::Command::release_all |
( |
| ) |
|
Release both the latches and blocks used in the mini-transaction.
Release the latches and blocks acquired by this mini-transaction.
◆ release_resources()
void mtr_t::Command::release_resources |
( |
| ) |
|
◆ m_impl
The mini-transaction state.
◆ m_locks_released
volatile ulint mtr_t::Command::m_locks_released |
|
private |
Set to 1 after the user thread releases the latches.
The log writer thread must wait for this to be set to 1.
◆ m_sync
bool mtr_t::Command::m_sync |
|
private |
true if it is a sync mini-transaction.
The documentation for this class was generated from the following file: