MySQL 9.1.0
Source Code Documentation
|
#include <stddef.h>
#include <stdint.h>
#include <sys/types.h>
#include "my_base.h"
#include "my_inttypes.h"
#include "my_sqlcommand.h"
#include "my_thread_local.h"
#include "mysql/strings/m_ctype.h"
#include "sql/rpl_gtid.h"
#include "sql/sql_plugin_ref.h"
Go to the source code of this file.
Classes | |
struct | System_variables |
struct | System_status_var |
Per thread status variables. More... | |
Macros | |
#define | MODE_IGNORED_MASK |
#define | LAST_STATUS_VAR secondary_engine_execution_count |
#define | FIRST_STATUS_VAR created_tmp_disk_tables |
Typedefs | |
using | sql_mode_t = uint64_t |
Enumerations | |
enum | enum_binlog_format { BINLOG_FORMAT_MIXED = 0 , BINLOG_FORMAT_STMT = 1 , BINLOG_FORMAT_ROW = 2 , BINLOG_FORMAT_UNSPEC } |
enum | enum_rbr_exec_mode { RBR_EXEC_MODE_STRICT , RBR_EXEC_MODE_IDEMPOTENT , RBR_EXEC_MODE_LAST_BIT } |
enum | enum_binlog_row_image { BINLOG_ROW_IMAGE_MINIMAL = 0 , BINLOG_ROW_IMAGE_NOBLOB = 1 , BINLOG_ROW_IMAGE_FULL = 2 } |
enum | enum_binlog_row_value_options { PARTIAL_JSON_UPDATES = 1 } |
enum | enum_binlog_row_metadata { BINLOG_ROW_METADATA_MINIMAL = 0 , BINLOG_ROW_METADATA_FULL = 1 } |
enum | enum_session_track_gtids { SESSION_TRACK_GTIDS_OFF = 0 , SESSION_TRACK_GTIDS_OWN_GTID = 1 , SESSION_TRACK_GTIDS_ALL_GTIDS = 2 } |
enum | use_secondary_engine { SECONDARY_ENGINE_OFF = 0 , SECONDARY_ENGINE_ON = 1 , SECONDARY_ENGINE_FORCED = 2 } |
Values for use_secondary_engine sysvar. More... | |
enum class | Explain_format_type : ulong { TRADITIONAL = 0 , TRADITIONAL_STRICT = 1 , TREE = 2 , JSON = 3 } |
Values for explain_format sysvar. More... | |
Functions | |
void | add_diff_to_status (System_status_var *to_var, System_status_var *from_var, System_status_var *dec_var) |
void | add_to_status (System_status_var *to_var, System_status_var *from_var) |
void | reset_system_status_vars (System_status_var *status_vars) |
#define FIRST_STATUS_VAR created_tmp_disk_tables |
#define LAST_STATUS_VAR secondary_engine_execution_count |
#define MODE_IGNORED_MASK |
using sql_mode_t = uint64_t |
enum enum_binlog_format |
enum enum_rbr_exec_mode |
|
strong |
Values for explain_format sysvar.
The value "TRADITIONAL_STRICT" is meant only to be used by the mtr test suite. With hypergraph optimizer, if explain_format value is TRADITIONAL, EXPLAIN without a format specifier prints in TREE format. The mtr tests were written before this traditional-tree conversion was introduced. So mtr was designed to just ignore the "format not supported with hypergraph" error when a test runs an EXPLAIN without format specifier with –hypergraph. With the conversion introduced, EXPLAIN without format specifier therefore would have output in different formats with and without the mtr –hypergraph option. In order for the mtr tests to be able to continue to pass, mtr internally sets explain_format to TRADITIONAL_STRICT so that these statements continue to error out rather than print TREE format as they would do with TRADITIONAL format. This is a temporary stuff. Once all tests start using TREE format, we will deprecate this value.
Enumerator | |
---|---|
TRADITIONAL | |
TRADITIONAL_STRICT | |
TREE | |
JSON |
enum use_secondary_engine |
void add_diff_to_status | ( | System_status_var * | to_var, |
System_status_var * | from_var, | ||
System_status_var * | dec_var | ||
) |
void add_to_status | ( | System_status_var * | to_var, |
System_status_var * | from_var | ||
) |
void reset_system_status_vars | ( | System_status_var * | status_vars | ) |
const int COUNT_GLOBAL_STATUS_VARS |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |