~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/alter_table.h

  • Committer: Brian Aker
  • Date: 2009-09-22 19:57:03 UTC
  • mto: This revision was merged to the branch mainline in revision 1135.
  • Revision ID: brian@gaz-20090922195703-l76dun5jvgjwzo08
Merge Schema create/alter

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
 
30
30
namespace statement
31
31
{
32
32
 
33
 
class AlterTable : public Statement
 
33
class AlterTable : public CreateTable
34
34
{
35
35
public:
36
36
  AlterTable(Session *in_session)
37
37
    :
38
 
      Statement(in_session)
39
 
  {
40
 
    memset(&create_info, 0, sizeof(create_info));
41
 
  }
 
38
      CreateTable(in_session)
 
39
  { }
42
40
 
43
41
  bool execute();
44
 
  drizzled::message::Table create_table_proto;
45
 
  HA_CREATE_INFO create_info;
46
 
  AlterInfo alter_info;
47
42
};
48
43
 
49
44
} /* end namespace statement */