~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/alter_table.h

  • Committer: Monty Taylor
  • Date: 2011-02-13 17:26:39 UTC
  • mfrom: (2157.2.2 give-in-to-pkg-config)
  • mto: This revision was merged to the branch mainline in revision 2166.
  • Revision ID: mordred@inaugust.com-20110213172639-nhy7i72sfhoq13ms
Merged in pkg-config fixes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* -*- mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; -*-
2
2
 *  vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
3
3
 *
4
 
 *  Copyright (C) 2009 Sun Microsystems
 
4
 *  Copyright (C) 2009 Sun Microsystems, Inc.
5
5
 *
6
6
 *  This program is free software; you can redistribute it and/or modify
7
7
 *  it under the terms of the GNU General Public License as published by
39
39
class AlterTable : public CreateTable
40
40
{
41
41
public:
42
 
  AlterTable(Session *in_session) :
43
 
    CreateTable(in_session)
44
 
  { 
 
42
  AlterTable(Session *in_session, Table_ident *ident, drizzled::ha_build_method build_arg);
 
43
 
 
44
  virtual bool is_alter() const
 
45
  {
 
46
    return true;
45
47
  }
46
48
 
47
49
  bool execute();
51
53
 
52
54
 
53
55
bool alter_table(Session *session,
54
 
                 drizzled::TableIdentifier &original_table_identifier,
55
 
                 drizzled::TableIdentifier &new_table_identifier,
 
56
                 drizzled::identifier::Table &original_table_identifier,
 
57
                 drizzled::identifier::Table &new_table_identifier,
56
58
                 HA_CREATE_INFO *create_info,
57
59
                 const message::Table &original_proto,
58
60
                 message::Table &create_proto,