MySQL 8.0.39
Source Code Documentation
PT_alter_table_stmt Class Referencefinal

#include <parse_tree_nodes.h>

Inheritance diagram for PT_alter_table_stmt:
[legend]

Public Member Functions

 PT_alter_table_stmt (MEM_ROOT *mem_root, Table_ident *table_name, Mem_root_array< PT_ddl_table_option * > *opt_actions, Alter_info::enum_alter_table_algorithm algo, Alter_info::enum_alter_table_lock lock, Alter_info::enum_with_validation validation)
 
Sql_cmdmake_cmd (THD *thd) override
 
- Public Member Functions inherited from PT_table_ddl_stmt_base
 PT_table_ddl_stmt_base (MEM_ROOT *mem_root)
 
 ~PT_table_ddl_stmt_base () override=0
 

Private Attributes

Table_ident *const m_table_name
 
Mem_root_array< PT_ddl_table_option * > *const m_opt_actions
 
const Alter_info::enum_alter_table_algorithm m_algo
 
const Alter_info::enum_alter_table_lock m_lock
 
const Alter_info::enum_with_validation m_validation
 
HA_CREATE_INFO m_create_info
 

Additional Inherited Members

- Protected Member Functions inherited from Parse_tree_root
virtual ~Parse_tree_root ()=default
 
 Parse_tree_root ()=default
 
- Protected Attributes inherited from PT_table_ddl_stmt_base
Alter_info m_alter_info
 

Constructor & Destructor Documentation

◆ PT_alter_table_stmt()

PT_alter_table_stmt::PT_alter_table_stmt ( MEM_ROOT mem_root,
Table_ident table_name,
Mem_root_array< PT_ddl_table_option * > *  opt_actions,
Alter_info::enum_alter_table_algorithm  algo,
Alter_info::enum_alter_table_lock  lock,
Alter_info::enum_with_validation  validation 
)
inlineexplicit

Member Function Documentation

◆ make_cmd()

Sql_cmd * PT_alter_table_stmt::make_cmd ( THD thd)
overridevirtual

Implements Parse_tree_root.

Member Data Documentation

◆ m_algo

const Alter_info::enum_alter_table_algorithm PT_alter_table_stmt::m_algo
private

◆ m_create_info

HA_CREATE_INFO PT_alter_table_stmt::m_create_info
private

◆ m_lock

const Alter_info::enum_alter_table_lock PT_alter_table_stmt::m_lock
private

◆ m_opt_actions

Mem_root_array<PT_ddl_table_option *>* const PT_alter_table_stmt::m_opt_actions
private

◆ m_table_name

Table_ident* const PT_alter_table_stmt::m_table_name
private

◆ m_validation

const Alter_info::enum_with_validation PT_alter_table_stmt::m_validation
private

The documentation for this class was generated from the following files: