~posulliv/drizzle/optimizer-style-cleanup

« back to all changes in this revision

Viewing changes to drizzled/statement/alter_table.h

  • Committer: Padraig O'Sullivan
  • Date: 2010-04-17 01:38:47 UTC
  • mfrom: (1237.9.238 bad-staging)
  • Revision ID: osullivan.padraig@gmail.com-20100417013847-ibjioqsfbmf5yg4g
Merge trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
class AlterTable : public CreateTable
40
40
{
41
41
public:
42
 
  AlterTable(Session *in_session)
43
 
    :
44
 
      CreateTable(in_session)
45
 
  { }
 
42
  AlterTable(Session *in_session) :
 
43
    CreateTable(in_session)
 
44
  { 
 
45
    create_table_message.set_update_timestamp(time(NULL));
 
46
  }
46
47
 
47
48
  bool execute();
48
49
};
50
51
} /* namespace statement */
51
52
 
52
53
 
53
 
bool alter_table(Session *session, char *new_db, char *new_name,
 
54
bool alter_table(Session *session,
 
55
                 drizzled::TableIdentifier &original_table_identifier,
 
56
                 drizzled::TableIdentifier &new_table_identifier,
54
57
                 HA_CREATE_INFO *create_info,
55
58
                 message::Table &create_proto,
56
59
                 TableList *table_list,