00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #pragma once
00022
00023 #include <drizzled/statement/create_table.h>
00024
00025 namespace drizzled {
00026 namespace statement {
00027
00028 class AlterTable : public CreateTable
00029 {
00030 public:
00031 AlterTable(Session *in_session, Table_ident *ident);
00032
00033 virtual bool is_alter() const
00034 {
00035 return true;
00036 }
00037
00038 bool execute();
00039 };
00040
00041 }
00042
00043
00044 bool alter_table(Session *session,
00045 drizzled::identifier::Table &original_table_identifier,
00046 drizzled::identifier::Table &new_table_identifier,
00047 HA_CREATE_INFO *create_info,
00048 const message::Table &original_proto,
00049 message::Table &create_proto,
00050 TableList *table_list,
00051 AlterInfo *alter_info,
00052 uint32_t order_num, Order *order, bool ignore);
00053
00054 }