|
| ha_innobase_inplace_ctx (row_prebuilt_t *prebuilt_arg, dict_index_t **drop_arg, ulint num_to_drop_arg, dict_index_t **rename_arg, ulint num_to_rename_arg, dict_foreign_t **drop_fk_arg, ulint num_to_drop_fk_arg, dict_foreign_t **add_fk_arg, ulint num_to_add_fk_arg, bool online_arg, mem_heap_t *heap_arg, dict_table_t *new_table_arg, const char **col_names_arg, ulint add_autoinc_arg, ulonglong autoinc_col_min_value_arg, ulonglong autoinc_col_max_value_arg) |
|
| ~ha_innobase_inplace_ctx () override |
|
bool | need_rebuild () const |
| Determine if the table will be rebuilt. More...
|
|
void | set_shared_data (const inplace_alter_handler_ctx *ctx) override |
| Set shared data between the passed in handler context and current context. More...
|
|
Public Member Functions inherited from inplace_alter_handler_ctx |
| inplace_alter_handler_ctx ()=default |
|
virtual | ~inplace_alter_handler_ctx ()=default |
|
◆ ha_innobase_inplace_ctx() [1/2]
ha_innobase_inplace_ctx::ha_innobase_inplace_ctx |
( |
row_prebuilt_t * |
prebuilt_arg, |
|
|
dict_index_t ** |
drop_arg, |
|
|
ulint |
num_to_drop_arg, |
|
|
dict_index_t ** |
rename_arg, |
|
|
ulint |
num_to_rename_arg, |
|
|
dict_foreign_t ** |
drop_fk_arg, |
|
|
ulint |
num_to_drop_fk_arg, |
|
|
dict_foreign_t ** |
add_fk_arg, |
|
|
ulint |
num_to_add_fk_arg, |
|
|
bool |
online_arg, |
|
|
mem_heap_t * |
heap_arg, |
|
|
dict_table_t * |
new_table_arg, |
|
|
const char ** |
col_names_arg, |
|
|
ulint |
add_autoinc_arg, |
|
|
ulonglong |
autoinc_col_min_value_arg, |
|
|
ulonglong |
autoinc_col_max_value_arg |
|
) |
| |
|
inline |
◆ ~ha_innobase_inplace_ctx()
ha_innobase_inplace_ctx::~ha_innobase_inplace_ctx |
( |
| ) |
|
|
inlineoverride |
◆ ha_innobase_inplace_ctx() [2/2]
◆ need_rebuild()
bool ha_innobase_inplace_ctx::need_rebuild |
( |
| ) |
const |
|
inline |
Determine if the table will be rebuilt.
- Returns
- whether the table will be rebuilt
◆ operator=()
◆ set_shared_data()
Set shared data between the passed in handler context and current context.
- Parameters
-
Reimplemented from inplace_alter_handler_ctx.
◆ add_autoinc
const ulint ha_innobase_inplace_ctx::add_autoinc |
added AUTO_INCREMENT column position, or ULINT_UNDEFINED
◆ add_cols
const dtuple_t* ha_innobase_inplace_ctx::add_cols |
default values of ADD COLUMN, or NULL
◆ add_fk
InnoDB foreign key constraints being added.
◆ add_index
InnoDB indexes being created.
◆ add_key_numbers
const ulint* ha_innobase_inplace_ctx::add_key_numbers |
MySQL key numbers for the InnoDB indexes that are being created.
◆ add_vcol
virtual columns to be added
◆ add_vcol_name
const char** ha_innobase_inplace_ctx::add_vcol_name |
◆ col_map
const ulint* ha_innobase_inplace_ctx::col_map |
mapping of old column numbers to new ones, or NULL
◆ col_names
const char** ha_innobase_inplace_ctx::col_names |
new column names, or NULL if nothing was renamed
◆ drop_fk
InnoDB foreign key constraints being dropped.
◆ drop_index
InnoDB indexes being dropped.
◆ drop_vcol
virtual columns to be dropped
◆ drop_vcol_name
const char** ha_innobase_inplace_ctx::drop_vcol_name |
◆ fts_drop_aux_vec
◆ heap
◆ m_stage
ALTER TABLE stage progress recorder.
◆ max_autoinc
ulonglong ha_innobase_inplace_ctx::max_autoinc |
maximum auto-increment value
◆ new_table
table where the indexes are being created or dropped
◆ num_to_add_fk
const ulint ha_innobase_inplace_ctx::num_to_add_fk |
number of InnoDB foreign key constraints being dropped
◆ num_to_add_index
ulint ha_innobase_inplace_ctx::num_to_add_index |
number of InnoDB indexes being created
◆ num_to_drop_fk
const ulint ha_innobase_inplace_ctx::num_to_drop_fk |
number of InnoDB foreign key constraints being dropped
◆ num_to_drop_index
const ulint ha_innobase_inplace_ctx::num_to_drop_index |
number of InnoDB indexes being dropped
◆ num_to_rename
const ulint ha_innobase_inplace_ctx::num_to_rename |
number of InnoDB indexes being renamed
◆ old_table
original table (if rebuilt, differs from indexed_table)
◆ online
bool ha_innobase_inplace_ctx::online |
whether to create the indexes online
◆ prebuilt
The prebuilt struct of the creating instance.
◆ rename
InnoDB indexes being renamed.
◆ sequence
◆ skip_pk_sort
bool ha_innobase_inplace_ctx::skip_pk_sort |
whether the order of the clustered index is unchanged
◆ thr
◆ tmp_name
const char* ha_innobase_inplace_ctx::tmp_name |
temporary table name to use for old table when renaming tables
◆ trx
trx_t* ha_innobase_inplace_ctx::trx |
The documentation for this struct was generated from the following file: