~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/alter_table.h

Merged up with latest plugin-slot-reorg.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
#ifndef DRIZZLED_STATEMENT_ALTER_TABLE_H
22
22
#define DRIZZLED_STATEMENT_ALTER_TABLE_H
23
23
 
24
 
#include <drizzled/statement.h>
 
24
#include <drizzled/statement/create_table.h>
25
25
 
26
26
class Session;
27
27
class TableList;
37
37
namespace statement
38
38
{
39
39
 
40
 
class AlterTable : public Statement
 
40
class AlterTable : public CreateTable
41
41
{
42
42
public:
43
43
  AlterTable(Session *in_session)
44
44
    :
45
 
      Statement(in_session, SQLCOM_ALTER_TABLE)
46
 
  {}
 
45
      CreateTable(in_session)
 
46
  { }
47
47
 
48
48
  bool execute();
49
49
};