~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/alter_table.h

  • Committer: Brian Aker
  • Date: 2010-10-27 21:00:49 UTC
  • mto: This revision was merged to the branch mainline in revision 1886.
  • Revision ID: brian@tangent.org-20101027210049-zfpgx2cfbrh8maq9
A couple of fixes to documentation.

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, Inc.
 
4
 *  Copyright (C) 2009 Sun Microsystems
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, Table_ident *ident, drizzled::ha_build_method build_arg);
43
 
 
44
 
  virtual bool is_alter() const
45
 
  {
46
 
    return true;
 
42
  AlterTable(Session *in_session) :
 
43
    CreateTable(in_session)
 
44
  { 
47
45
  }
48
46
 
49
47
  bool execute();
53
51
 
54
52
 
55
53
bool alter_table(Session *session,
56
 
                 drizzled::identifier::Table &original_table_identifier,
57
 
                 drizzled::identifier::Table &new_table_identifier,
 
54
                 drizzled::TableIdentifier &original_table_identifier,
 
55
                 drizzled::TableIdentifier &new_table_identifier,
58
56
                 HA_CREATE_INFO *create_info,
59
57
                 const message::Table &original_proto,
60
58
                 message::Table &create_proto,
61
59
                 TableList *table_list,
62
60
                 AlterInfo *alter_info,
63
 
                 uint32_t order_num, Order *order, bool ignore);
 
61
                 uint32_t order_num, order_st *order, bool ignore);
64
62
 
65
63
} /* namespace drizzled */
66
64
#endif /* DRIZZLED_STATEMENT_ALTER_TABLE_H */