~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/alter_table.h

  • Committer: Lee Bieber
  • Date: 2010-01-30 23:42:02 UTC
  • mto: This revision was merged to the branch mainline in revision 1282.
  • Revision ID: lbieber@lee-biebers-macbook-pro.local-20100130234202-sxmqfteqwiq15ptg
add target to japanese tests

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
 
24
24
#include <drizzled/statement/create_table.h>
25
25
 
26
 
namespace drizzled
27
 
{
28
26
class Session;
29
27
class TableList;
30
28
 
 
29
namespace drizzled
 
30
{
 
31
 
31
32
namespace message
32
33
{
33
34
  class Table;
39
40
class AlterTable : public CreateTable
40
41
{
41
42
public:
42
 
  AlterTable(Session *in_session) :
43
 
    CreateTable(in_session)
44
 
  { 
45
 
  }
 
43
  AlterTable(Session *in_session)
 
44
    :
 
45
      CreateTable(in_session)
 
46
  { }
46
47
 
47
48
  bool execute();
48
49
};
50
51
} /* namespace statement */
51
52
 
52
53
 
53
 
bool alter_table(Session *session,
54
 
                 drizzled::TableIdentifier &original_table_identifier,
55
 
                 drizzled::TableIdentifier &new_table_identifier,
 
54
bool alter_table(Session *session, char *new_db, char *new_name,
56
55
                 HA_CREATE_INFO *create_info,
57
 
                 const message::Table &original_proto,
58
 
                 message::Table &create_proto,
 
56
                 message::Table *create_proto,
59
57
                 TableList *table_list,
60
58
                 AlterInfo *alter_info,
61
 
                 uint32_t order_num, Order *order, bool ignore);
 
59
                 uint32_t order_num, order_st *order, bool ignore);
62
60
 
63
61
} /* namespace drizzled */
64
62
#endif /* DRIZZLED_STATEMENT_ALTER_TABLE_H */