~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/alter_info.h

  • Committer: Monty Taylor
  • Date: 2010-01-12 21:34:24 UTC
  • mto: This revision was merged to the branch mainline in revision 1268.
  • Revision ID: mordred@inaugust.com-20100112213424-6mslywtlca49mvnk
Updated to pandora-buld v0.94

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
25
25
#ifndef DRIZZLED_ALTER_INFO_H
26
26
#define DRIZZLED_ALTER_INFO_H
27
27
 
28
 
#include <drizzled/base.h>
29
 
#include <drizzled/enum.h>
30
 
#include <drizzled/sql_list.h> /** @TODO use STL vectors! */
31
 
#include <drizzled/key.h>
32
 
#include <drizzled/message/table.pb.h>
 
28
#include "drizzled/base.h"
 
29
#include "drizzled/enum.h"
 
30
#include "drizzled/sql_list.h" /** @TODO use STL vectors! */
 
31
#include "drizzled/key.h"
 
32
#include "drizzled/message/table.pb.h"
33
33
 
34
34
#include <bitset>
35
35
 
36
 
namespace drizzled
37
 
{
38
 
 
39
36
/* Some forward declarations needed */
40
37
class CreateField;
41
38
class AlterDrop;
85
82
  List<AlterColumn> alter_list;
86
83
  List<Key> key_list;
87
84
  List<CreateField> create_list;
88
 
  message::AlterTable alter_proto;
 
85
  drizzled::message::AlterTable alter_proto;
89
86
  std::bitset<32> flags;
90
87
  enum enum_enable_or_disable keys_onoff;
91
88
  enum tablespace_op_type tablespace_op;
92
89
  uint32_t no_parts;
93
90
  enum ha_build_method build_method;
 
91
  CreateField *datetime_field;
94
92
  bool error_if_not_empty;
95
93
 
96
94
  AlterInfo();
97
 
  AlterInfo(const AlterInfo &rhs, memory::Root *mem_root);
 
95
  AlterInfo(const AlterInfo &rhs, drizzled::memory::Root *mem_root);
98
96
private:
99
97
  AlterInfo &operator=(const AlterInfo &rhs); // not implemented
100
98
  AlterInfo(const AlterInfo &rhs);            // not implemented
101
99
};
102
100
 
103
 
} /* namespace drizzled */
104
 
 
105
101
#endif /* DRIZZLED_ALTER_INFO_H */