MySQL 9.1.0
Source Code Documentation
|
DDL context. More...
Go to the source code of this file.
Classes | |
struct | ddl::Index_field |
Index field definition. More... | |
struct | ddl::Index_defn |
Definition of an index being created. More... | |
struct | ddl::Dup |
Structure for reporting duplicate records. More... | |
class | ddl::Unique_os_file_descriptor |
Captures ownership and manages lifetime of an already opened OS file descriptor. More... | |
struct | ddl::Sequence |
Generate the next autoinc based on a snapshot of the session auto_increment_increment and auto_increment_offset variables. More... | |
struct | ddl::Context |
DDL context/configuration. More... | |
struct | ddl::Context::FTS |
Full text search context information and state. More... | |
struct | ddl::Context::FTS::Sequence |
Document ID sequence. More... | |
Namespaces | |
namespace | ddl |
The general architecture is that the work is done in two phases, roughly the read and write phase. | |
Typedefs | |
using | ddl::mrec_buf_t = byte[UNIV_PAGE_SIZE_MAX] |
Secondary buffer for I/O operations of merge records. More... | |
using | ddl::mrec_t = byte |
Merge record in Aligned_buffer. More... | |
Functions | |
dberr_t | ddl::lock_table (trx_t *trx, dict_table_t *table, lock_mode mode) noexcept |
Sets an exclusive lock on a table, for the duration of creating indexes. More... | |
void | ddl::drop_indexes (trx_t *trx, dict_table_t *table, bool locked) noexcept |
Drop those indexes which were created before an error occurred. More... | |
Unique_os_file_descriptor | ddl::file_create_low (const char *path) noexcept |
Create temporary merge files in the given parameter path, and if UNIV_PFS_IO defined, register the file descriptor with Performance Schema. More... | |
dict_index_t * | ddl::create_index (trx_t *trx, dict_table_t *table, const Index_defn *index_def, const dict_add_v_col_t *add_v) noexcept |
Create the index and load in to the dictionary. More... | |
dberr_t | ddl::drop_table (trx_t *trx, dict_table_t *table) noexcept |
Drop a table. More... | |
Variables | |
ulong | ddl::fts_parser_threads = 2 |
Variable specifying the number of FTS parser threads to use. More... | |
constexpr size_t | ddl::IO_BLOCK_SIZE = 4 * 1024 |
Minimum IO buffer size. More... | |
DDL context.