MySQL 8.0.40
Source Code Documentation
|
#include <stddef.h>
#include <sys/types.h>
#include "m_ctype.h"
#include "my_base.h"
#include "my_inttypes.h"
#include "my_sqlcommand.h"
#include "my_thread_local.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... | |
Typedefs | |
typedef ulonglong | sql_mode_t |
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) |
Variables | |
const int | COUNT_GLOBAL_STATUS_VARS |
#define FIRST_STATUS_VAR created_tmp_disk_tables |
#define LAST_STATUS_VAR secondary_engine_execution_count |
#define MODE_ALLOWED_MASK |
#define MODE_ANSI 262144L |
#define MODE_ANSI_QUOTES 4 |
#define MODE_ERROR_FOR_DIVISION_BY_ZERO (MODE_INVALID_DATES * 2) |
#define MODE_HIGH_NOT_PRECEDENCE (1ULL << 29) |
#define MODE_IGNORE_SPACE 8 |
#define MODE_IGNORED_MASK |
#define MODE_INVALID_DATES (MODE_NO_ZERO_DATE * 2) |
#define MODE_LAST (1ULL << 33) |
#define MODE_NO_AUTO_VALUE_ON_ZERO (MODE_ANSI * 2) |
#define MODE_NO_BACKSLASH_ESCAPES (MODE_NO_AUTO_VALUE_ON_ZERO * 2) |
#define MODE_NO_DIR_IN_CREATE 128 |
#define MODE_NO_ENGINE_SUBSTITUTION (MODE_HIGH_NOT_PRECEDENCE * 2) |
#define MODE_NO_UNSIGNED_SUBTRACTION 64 |
#define MODE_NO_ZERO_DATE (MODE_NO_ZERO_IN_DATE * 2) |
#define MODE_NO_ZERO_IN_DATE (MODE_STRICT_ALL_TABLES * 2) |
#define MODE_NOT_USED 16 |
#define MODE_ONLY_FULL_GROUP_BY 32 |
#define MODE_PAD_CHAR_TO_FULL_LENGTH (1ULL << 31) |
#define MODE_PIPES_AS_CONCAT 2 |
#define MODE_REAL_AS_FLOAT 1 |
#define MODE_STRICT_ALL_TABLES (MODE_STRICT_TRANS_TABLES * 2) |
#define MODE_STRICT_TRANS_TABLES (MODE_NO_BACKSLASH_ESCAPES * 2) |
#define MODE_TIME_TRUNCATE_FRACTIONAL (1ULL << 32) |
#define MODE_TRADITIONAL (MODE_ERROR_FOR_DIVISION_BY_ZERO * 2) |
typedef ulonglong sql_mode_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 |