~ubuntu-branches/ubuntu/trusty/drizzle/trusty

« back to all changes in this revision

Viewing changes to drizzled/statement/alter_table.h

  • Committer: Bazaar Package Importer
  • Author(s): Monty Taylor
  • Date: 2010-10-02 14:17:48 UTC
  • mfrom: (1.1.1 upstream)
  • mto: (2.1.17 sid)
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: james.westby@ubuntu.com-20101002141748-m6vbfbfjhrw1153e
Tags: 2010.09.1802-1
* New upstream release.
* Removed pid-file argument hack.
* Updated GPL-2 address to be new address.
* Directly copy in drizzledump.1 since debian doesn't have sphinx 1.0 yet.
* Link to jquery from libjs-jquery. Add it as a depend.
* Add drizzled.8 symlink to the install files.

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,
 
58
                 const message::Table &original_proto,
55
59
                 message::Table &create_proto,
56
60
                 TableList *table_list,
57
61
                 AlterInfo *alter_info,