MySQL 9.0.0
Source Code Documentation
|
Some RAII classes that set THD state. More...
#include <sys/types.h>
#include "my_dbug.h"
#include "my_inttypes.h"
#include "sql/query_options.h"
#include "sql/rpl_replica_commit_order_manager.h"
#include "sql/sql_alter.h"
#include "sql/sql_class.h"
#include "sql/sql_lex.h"
#include "sql/system_variables.h"
#include "sql/transaction_info.h"
Go to the source code of this file.
Classes | |
class | Disable_autocommit_guard |
RAII class for temporarily turning off @autocommit in the connection. More... | |
class | Implicit_substatement_state_guard |
RAII class which allows to temporary disable updating Gtid_state and disable invocation of commit order for intermediate commits. More... | |
class | Disable_binlog_guard |
RAII class to temporarily disable binlogging. More... | |
class | Disable_sql_log_bin_guard |
class | Save_and_Restore_binlog_format_state |
RAII class which allows to save, clear and store binlog format state There are two variables in THD class that will decide the binlog format of a statement i) THD::current_stmt_binlog_format ii) THD::variables.binlog_format Saving or Clearing or Storing of binlog format state should be done for these two variables together all the time. More... | |
class | Sql_mode_parse_guard |
RAII class to temporarily turn off SQL modes that affect parsing of expressions. More... | |
class | Swap_mem_root_guard |
RAII class to temporarily swap thd->mem_root to a different mem_root. More... | |
class | Internal_error_handler_holder< Error_handler, Error_handler_arg > |
A simple holder for Internal_error_handler. More... | |
class | Prepared_stmt_arena_holder |
A simple holder for the Prepared Statement Query_arena instance in THD. More... | |
class | Pushed_lex_guard |
RAII class for pushed LEX object. More... | |
class | Column_privilege_tracker |
RAII class for column privilege checking. More... | |
class | Enable_derived_merge_guard |
RAII class to temporarily enable derived_merge optimizer_switch for SHOW commands that are based on INFORMATION_SCHEMA system views. More... | |
Enumerations | |
enum class | enum_implicit_substatement_guard_mode { DISABLE_GTID_AND_SPCO , DISABLE_GTID_AND_SPCO_IF_SPCO_ACTIVE , ENABLE_GTID_AND_SPCO_IF_SPCO_ACTIVE } |
The mode for Implicit_substatement_state_guard based on which it determine whether to enable or disable updating Gtid_state and invocation of commit order. More... | |
Some RAII classes that set THD state.
|
strong |