MySQL 8.0.39
Source Code Documentation
|
DDL log. More...
Go to the source code of this file.
Classes | |
class | DDL_Record |
DDL log record. More... | |
class | DDL_Log_Table |
Wrapper of mysql.innodb_ddl_log table. More... | |
class | Log_DDL |
Class to write and replay ddl logs. More... | |
Typedefs | |
using | DDL_Records = std::vector< DDL_Record * > |
Array of DDL records. More... | |
Enumerations | |
enum class | Log_Type : uint32_t { SMALLEST_LOG = 1 , FREE_TREE_LOG = 1 , DELETE_SPACE_LOG , RENAME_SPACE_LOG , DROP_LOG , RENAME_TABLE_LOG , REMOVE_CACHE_LOG , ALTER_ENCRYPT_TABLESPACE_LOG , ALTER_UNENCRYPT_TABLESPACE_LOG , BIGGEST_LOG = ALTER_UNENCRYPT_TABLESPACE_LOG } |
DDL log types defined as uint32_t because it costs 4 bytes in mysql.innodb_ddl_log. More... | |
Functions | |
void | ddl_log_close () |
Close the DDL log system. More... | |
void | ddl_log_crash_reset (THD *thd, SYS_VAR *var, void *var_ptr, const void *save) |
Reset all crash injection counters. More... | |
Variables | |
Log_DDL * | log_ddl |
Object to handle Log_DDL. More... | |
bool | innodb_ddl_log_crash_reset_debug |
Used by SET GLOBAL innodb_ddl_log_crash_counter_reset_debug = 1;. More... | |
DDL log.
Created 12/1/2016 Shaohua Wang
using DDL_Records = std::vector<DDL_Record *> |
Array of DDL records.
|
strong |
DDL log types defined as uint32_t because it costs 4 bytes in mysql.innodb_ddl_log.
|
inline |
Close the DDL log system.
Reset all crash injection counters.
It's used by: SET GLOBAL innodb_ddl_log_crash_reset_debug = 1 (0).
[in] | thd | thread handle |
[in] | var | pointer to system variable |
[in] | var_ptr | where the formal string goes |
[in] | save | immediate result from check function |
|
extern |
Used by SET GLOBAL innodb_ddl_log_crash_counter_reset_debug = 1;.
|
extern |
Object to handle Log_DDL.