MySQL 8.3.0
Source Code Documentation
sql_alter.h File Reference
#include <assert.h>
#include <stddef.h>
#include <sys/types.h>
#include <functional>
#include <optional>
#include "lex_string.h"
#include "field_types.h"
#include "my_io.h"
#include "my_sqlcommand.h"
#include "mysql/components/services/bits/psi_bits.h"
#include "sql/dd/types/column.h"
#include "sql/gis/srid.h"
#include "sql/mdl.h"
#include "sql/mem_root_array.h"
#include "sql/sql_check_constraint.h"
#include "sql/sql_cmd.h"
#include "sql/sql_cmd_ddl_table.h"
#include "sql/sql_list.h"
#include "sql/thr_malloc.h"

Go to the source code of this file.

Classes

class  Alter_drop
 Class representing DROP COLUMN, DROP KEY, DROP FOREIGN KEY, DROP CHECK CONSTRAINT and DROP CONSTRAINT clauses in ALTER TABLE statement. More...
 
class  Alter_column
 Class representing SET DEFAULT, DROP DEFAULT, RENAME COLUMN, SET VISIBLE and SET INVISIBLE clause in ALTER TABLE statement. More...
 
class  Alter_index_visibility
 An ALTER INDEX operation that changes the visibility of an index. More...
 
class  Alter_rename_key
 Class which instances represent RENAME INDEX clauses in ALTER TABLE statement. More...
 
class  Alter_constraint_enforcement
 Class representing ALTER CHECK and ALTER CONSTRAINT clauses in ALTER TABLE statement. More...
 
class  Alter_info
 Data describing the table being created by CREATE TABLE or altered by ALTER TABLE. More...
 
class  Alter_table_ctx
 Runtime context for ALTER TABLE. More...
 
class  Sql_cmd_common_alter_table
 Represents the common properties of the ALTER TABLE statements. More...
 
class  Sql_cmd_alter_table
 Represents the generic ALTER TABLE statement. More...
 
class  Sql_cmd_discard_import_tablespace
 Represents ALTER TABLE IMPORT/DISCARD TABLESPACE statements. More...
 
class  Sql_cmd_secondary_load_unload
 Represents ALTER TABLE SECONDARY_LOAD/SECONDARY_UNLOAD statements. More...
 

Typedefs

using CreateFieldApplier = std::function< bool(Create_field *, Alter_info *)>
 

Typedef Documentation

◆ CreateFieldApplier

using CreateFieldApplier = std::function<bool(Create_field *, Alter_info *)>