1
1
/* -*- mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; -*-
2
2
* vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
4
* Copyright (C) 2009 Sun Microsystems, Inc.
4
* Copyright (C) 2009 Sun Microsystems
6
6
* This program is free software; you can redistribute it and/or modify
7
7
* it under the terms of the GNU General Public License as published by
24
24
#include <drizzled/statement/create_table.h>
36
30
namespace statement
39
33
class AlterTable : public CreateTable
42
AlterTable(Session *in_session, Table_ident *ident, drizzled::ha_build_method build_arg);
44
virtual bool is_alter() const
36
AlterTable(Session *in_session)
38
CreateTable(in_session)
44
} /* end namespace statement */
46
} /* end namespace drizzled */
52
} /* namespace statement */
55
bool alter_table(Session *session,
56
drizzled::identifier::Table &original_table_identifier,
57
drizzled::identifier::Table &new_table_identifier,
58
HA_CREATE_INFO *create_info,
59
const message::Table &original_proto,
60
message::Table &create_proto,
61
TableList *table_list,
62
AlterInfo *alter_info,
63
uint32_t order_num, Order *order, bool ignore);
65
} /* namespace drizzled */
59
/** @TODO This should die with I_S engine work from Padraig */
60
bool mysql_create_like_schema_frm(Session* session,
61
TableList* schema_table,
62
HA_CREATE_INFO *create_info,
63
drizzled::message::Table* table_proto);
66
65
#endif /* DRIZZLED_STATEMENT_ALTER_TABLE_H */