#include <sql_alter.h>
Detailed Description
Runtime context for ALTER TABLE.
Definition at line 260 of file sql_alter.h.
Member Function Documentation
const char* Alter_table_ctx::get_new_filename |
( |
| ) |
const |
|
inline |
- Returns
- filename (including .frm) for the new table.
Definition at line 283 of file sql_alter.h.
const char* Alter_table_ctx::get_new_path |
( |
| ) |
const |
|
inline |
- Returns
- path to the new table.
Definition at line 301 of file sql_alter.h.
const char* Alter_table_ctx::get_path |
( |
| ) |
const |
|
inline |
- Returns
- path to the original table.
Definition at line 292 of file sql_alter.h.
const char* Alter_table_ctx::get_tmp_path |
( |
| ) |
const |
|
inline |
- Returns
- path to the temporary table created during ALTER TABLE.
Definition at line 310 of file sql_alter.h.
bool Alter_table_ctx::is_database_changed |
( |
| ) |
const |
|
inline |
- Returns
- true if the table is moved to another database, false otherwise.
Definition at line 271 of file sql_alter.h.
bool Alter_table_ctx::is_table_renamed |
( |
| ) |
const |
|
inline |
- Returns
- true if the table is renamed, false otherwise.
Definition at line 277 of file sql_alter.h.
Mark ALTER TABLE as needing to produce foreign key error if it deletes a row from the table being changed.
Definition at line 317 of file sql_alter.h.
Member Data Documentation
const char* Alter_table_ctx::fk_error_id |
Name of foreign key for the above error.
Definition at line 342 of file sql_alter.h.
bool Alter_table_ctx::fk_error_if_delete_row |
Indicates that if a row is deleted during copying of data from old version of table to the new version ER_FK_CANNOT_DELETE_PARENT error should be emitted.
Definition at line 340 of file sql_alter.h.
const char* Alter_table_ctx::fk_error_table |
Name of table for the above error.
Definition at line 344 of file sql_alter.h.
The documentation for this class was generated from the following files: