#include <dict0inst.h>
◆ Instant_ddl_impl() [1/2]
template<typename Table >
◆ Instant_ddl_impl() [2/2]
template<typename Table >
Constructor.
- Parameters
-
[in] | alter_info | inplace alter information |
[in] | thd | user thread |
[in] | trx | transaction |
[in,out] | dict_table | innodb dictionary cache object |
[in] | old_table | old global DD cache object |
[in,out] | altered_table | new MySQL table object |
[in] | old_dd_tab | old global DD cache object |
[in,out] | new_dd_tab | new global DD cache object |
[in] | autoinc | auto increment |
◆ ~Instant_ddl_impl()
template<typename Table >
◆ commit_instant_add_col() [1/3]
◆ commit_instant_add_col() [2/3]
◆ commit_instant_add_col() [3/3]
template<typename Table >
Add columns instantly.
- Return values
-
◆ commit_instant_add_col_low()
template<typename Table >
Add column instantly.
- Return values
-
◆ commit_instant_ddl()
template<typename Table >
Commit instant DDL.
- Return values
-
◆ commit_instant_drop_col() [1/3]
◆ commit_instant_drop_col() [2/3]
◆ commit_instant_drop_col() [3/3]
template<typename Table >
Drop columns instantly.
- Return values
-
◆ commit_instant_drop_col_low()
template<typename Table >
Add column instantly.
- Return values
-
◆ dd_commit_inplace_no_change()
template<typename Table >
Update metadata in commit phase when the alter table does no change to the table.
- Parameters
-
[in] | ignore_fts | ignore FTS update if true |
◆ is_instant_add_drop_possible()
template<typename Table >
Check if INSTANT ADD/DROP can be done.
- Parameters
-
[in] | ha_alter_info | alter info |
[in] | table | MySQL table before ALTER |
[in] | altered_table | MySQL table after ALTER |
[in] | dict_table | InnoDB table definition cache |
- Returns
- true if INSTANT ADD/DROP can be done, false otherwise.
◆ populate_to_be_instant_columns()
template<typename Table >
Fetch columns which are to be added or dropped instantly.
◆ m_altered_table
template<typename Table >
◆ m_autoinc
template<typename Table >
◆ m_cols_to_add
template<typename Table >
◆ m_cols_to_drop
template<typename Table >
◆ m_dict_table
template<typename Table >
◆ m_ha_alter_info
template<typename Table >
◆ m_new_dd_tab
template<typename Table >
◆ m_old_dd_tab
template<typename Table >
◆ m_old_table
template<typename Table >
◆ m_thd
template<typename Table >
◆ m_trx
template<typename Table >
The documentation for this class was generated from the following files: