MySQL 9.0.0
Source Code Documentation
|
Class representing read-only attachable transaction, encapsulates knowledge how to backup state of current transaction, start read-only attachable transaction in SE, finalize it and then restore state of original transaction back. More...
Public Member Functions | |
Attachable_trx (THD *thd, Attachable_trx *prev_trx) | |
virtual | ~Attachable_trx () |
Attachable_trx * | get_prev_attachable_trx () const |
virtual bool | is_read_only () const |
Protected Attributes | |
THD * | m_thd |
THD instance. More... | |
enum_reset_lex | m_reset_lex |
Attachable_trx * | m_prev_attachable_trx |
Attachable_trx which was active for the THD before when this transaction was started (NULL in most cases). More... | |
Transaction_state | m_trx_state |
Transaction state data. More... | |
Private Member Functions | |
Attachable_trx (const Attachable_trx &) | |
Attachable_trx & | operator= (const Attachable_trx &) |
Class representing read-only attachable transaction, encapsulates knowledge how to backup state of current transaction, start read-only attachable transaction in SE, finalize it and then restore state of original transaction back.
Also serves as a base class for read-write attachable transaction implementation.
THD::Attachable_trx::Attachable_trx | ( | THD * | thd, |
Attachable_trx * | prev_trx | ||
) |
|
virtual |
|
private |
|
inline |
|
inlinevirtual |
Reimplemented in THD::Attachable_trx_rw.
|
private |
|
protected |
Attachable_trx which was active for the THD before when this transaction was started (NULL in most cases).
|
protected |
|
protected |
THD instance.
|
protected |
Transaction state data.