![]() |
MySQL 9.7.4
Source Code Documentation
|
Public Member Functions | |
| 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 |
Public Attributes | |
| que_thr_t * | thr |
| Dummy query graph. More... | |
| row_prebuilt_t * | prebuilt |
| The prebuilt struct of the creating instance. More... | |
| dict_index_t ** | add_index |
| InnoDB indexes being created. More... | |
| const ulint * | add_key_numbers |
| MySQL key numbers for the InnoDB indexes that are being created. More... | |
| ulint | num_to_add_index |
| number of InnoDB indexes being created More... | |
| dict_index_t ** | drop_index |
| InnoDB indexes being dropped. More... | |
| const ulint | num_to_drop_index |
| number of InnoDB indexes being dropped More... | |
| dict_index_t ** | rename |
| InnoDB indexes being renamed. More... | |
| const ulint | num_to_rename |
| number of InnoDB indexes being renamed More... | |
| dict_foreign_t ** | drop_fk |
| InnoDB foreign key constraints being dropped. More... | |
| const ulint | num_to_drop_fk |
| number of InnoDB foreign key constraints being dropped More... | |
| dict_foreign_t ** | add_fk |
| InnoDB foreign key constraints being added. More... | |
| const ulint | num_to_add_fk |
| number of InnoDB foreign key constraints being dropped More... | |
| bool | online |
| whether to create the indexes online More... | |
| mem_heap_t * | heap |
| memory heap More... | |
| trx_t * | trx |
| dictionary transaction More... | |
| dict_table_t * | old_table |
| original table (if rebuilt, differs from indexed_table) More... | |
| dict_table_t * | new_table |
| table where the indexes are being created or dropped More... | |
| const ulint * | col_map |
| mapping of old column numbers to new ones, or NULL More... | |
| const bool * | col_has_compatible_charset_change |
| whether mapped old columns have a charset/collation change whose existing value bytes can be reused, or NULL More... | |
| const char ** | col_names |
| new column names, or NULL if nothing was renamed More... | |
| const ulint | add_autoinc |
| added AUTO_INCREMENT column position, or ULINT_UNDEFINED More... | |
| const dtuple_t * | add_cols |
| default values of ADD COLUMN, or NULL More... | |
| ddl::Sequence | sequence |
| autoinc sequence to use More... | |
| ulonglong | max_autoinc |
| maximum auto-increment value More... | |
| const char * | tmp_name |
| temporary table name to use for old table when renaming tables More... | |
| bool | skip_pk_sort |
| whether the order of the clustered index is unchanged More... | |
| dict_v_col_t * | add_vcol |
| virtual columns to be added More... | |
| const char ** | add_vcol_name |
| dict_v_col_t * | drop_vcol |
| virtual columns to be dropped More... | |
| const char ** | drop_vcol_name |
| Alter_stage * | m_stage |
| ALTER TABLE stage progress recorder. More... | |
| aux_name_vec_t * | fts_drop_aux_vec |
| FTS AUX Tables to drop. More... | |
Private Member Functions | |
| ha_innobase_inplace_ctx (const ha_innobase_inplace_ctx &) | |
| ha_innobase_inplace_ctx & | operator= (const ha_innobase_inplace_ctx &) |
|
inline |
|
inlineoverride |
|
private |
|
inline |
Determine if the table will be rebuilt.
|
private |
|
inlineoverridevirtual |
Set shared data between the passed in handler context and current context.
| [in] | ctx | handler context |
Reimplemented from inplace_alter_handler_ctx.
| const ulint ha_innobase_inplace_ctx::add_autoinc |
added AUTO_INCREMENT column position, or ULINT_UNDEFINED
| const dtuple_t* ha_innobase_inplace_ctx::add_cols |
default values of ADD COLUMN, or NULL
| dict_foreign_t** ha_innobase_inplace_ctx::add_fk |
InnoDB foreign key constraints being added.
| dict_index_t** ha_innobase_inplace_ctx::add_index |
InnoDB indexes being created.
| const ulint* ha_innobase_inplace_ctx::add_key_numbers |
MySQL key numbers for the InnoDB indexes that are being created.
| dict_v_col_t* ha_innobase_inplace_ctx::add_vcol |
virtual columns to be added
| const char** ha_innobase_inplace_ctx::add_vcol_name |
| const bool* ha_innobase_inplace_ctx::col_has_compatible_charset_change |
whether mapped old columns have a charset/collation change whose existing value bytes can be reused, or NULL
| const ulint* ha_innobase_inplace_ctx::col_map |
mapping of old column numbers to new ones, or NULL
| const char** ha_innobase_inplace_ctx::col_names |
new column names, or NULL if nothing was renamed
| dict_foreign_t** ha_innobase_inplace_ctx::drop_fk |
InnoDB foreign key constraints being dropped.
| dict_index_t** ha_innobase_inplace_ctx::drop_index |
InnoDB indexes being dropped.
| dict_v_col_t* ha_innobase_inplace_ctx::drop_vcol |
virtual columns to be dropped
| const char** ha_innobase_inplace_ctx::drop_vcol_name |
| aux_name_vec_t* ha_innobase_inplace_ctx::fts_drop_aux_vec |
FTS AUX Tables to drop.
| mem_heap_t* ha_innobase_inplace_ctx::heap |
memory heap
| Alter_stage* ha_innobase_inplace_ctx::m_stage |
ALTER TABLE stage progress recorder.
| ulonglong ha_innobase_inplace_ctx::max_autoinc |
maximum auto-increment value
| dict_table_t* ha_innobase_inplace_ctx::new_table |
table where the indexes are being created or dropped
| const ulint ha_innobase_inplace_ctx::num_to_add_fk |
number of InnoDB foreign key constraints being dropped
| ulint ha_innobase_inplace_ctx::num_to_add_index |
number of InnoDB indexes being created
| const ulint ha_innobase_inplace_ctx::num_to_drop_fk |
number of InnoDB foreign key constraints being dropped
| const ulint ha_innobase_inplace_ctx::num_to_drop_index |
number of InnoDB indexes being dropped
| const ulint ha_innobase_inplace_ctx::num_to_rename |
number of InnoDB indexes being renamed
| dict_table_t* ha_innobase_inplace_ctx::old_table |
original table (if rebuilt, differs from indexed_table)
| bool ha_innobase_inplace_ctx::online |
whether to create the indexes online
| row_prebuilt_t* ha_innobase_inplace_ctx::prebuilt |
The prebuilt struct of the creating instance.
| dict_index_t** ha_innobase_inplace_ctx::rename |
InnoDB indexes being renamed.
| ddl::Sequence ha_innobase_inplace_ctx::sequence |
autoinc sequence to use
| bool ha_innobase_inplace_ctx::skip_pk_sort |
whether the order of the clustered index is unchanged
| que_thr_t* ha_innobase_inplace_ctx::thr |
Dummy query graph.
| const char* ha_innobase_inplace_ctx::tmp_name |
temporary table name to use for old table when renaming tables
| trx_t* ha_innobase_inplace_ctx::trx |
dictionary transaction