MySQL 8.0.40
Source Code Documentation
|
RAII class which allows to temporary disable updating Gtid_state and disable invocation of commit order for intermediate commits. More...
#include <thd_raii.h>
Public Member Functions | |
Implicit_substatement_state_guard (THD *thd, enum_implicit_substatement_guard_mode mode=enum_implicit_substatement_guard_mode::DISABLE_GTID_AND_SPCO) | |
Constructs a new object and set thd->is_operating_substatement_implicitly and thd->skip_gtid_rollback according to enum_implicit_substatement_guard_mode mode argument. More... | |
~Implicit_substatement_state_guard () | |
Private Attributes | |
THD * | m_thd |
bool | m_save_is_operating_substatement_implicitly |
bool | m_save_skip_gtid_rollback |
bool | m_guard_ignored |
RAII class which allows to temporary disable updating Gtid_state and disable invocation of commit order for intermediate commits.
|
inlineexplicit |
Constructs a new object and set thd->is_operating_substatement_implicitly and thd->skip_gtid_rollback according to enum_implicit_substatement_guard_mode mode argument.
thd | Thread context. |
mode | If mode is not ENABLE_GTID_AND_SPCO_IF_SPCO_ACTIVE then temporary disable updating Gtid_state and invocation of commit order (Commit_order_manager::wait). |
|
inline |
|
private |
|
private |
|
private |
|
private |