~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/alter_info.h

more updates

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
#ifndef DRIZZLED_ALTER_INFO_H
26
26
#define DRIZZLED_ALTER_INFO_H
27
27
 
 
28
#include <drizzled/alter_column.h>
 
29
#include <drizzled/alter_drop.h>
28
30
#include <drizzled/base.h>
29
31
#include <drizzled/enum.h>
30
 
#include <drizzled/sql_list.h> /** @TODO use STL vectors! */
31
32
#include <drizzled/key.h>
32
33
#include <drizzled/message/table.pb.h>
33
34
 
34
35
#include <bitset>
35
 
 
36
 
namespace drizzled
37
 
{
38
 
 
39
 
/* Some forward declarations needed */
 
36
#include <list>
 
37
 
 
38
namespace drizzled {
 
39
 
40
40
class CreateField;
41
 
class AlterDrop;
42
 
class AlterColumn;
43
41
 
44
42
enum enum_alter_info_flags
45
43
{
81
79
class AlterInfo
82
80
{
83
81
public:
84
 
  List<AlterDrop> drop_list;
85
 
  List<AlterColumn> alter_list;
 
82
  typedef std::list<AlterDrop> drop_list_t;
 
83
  typedef std::list<AlterColumn> alter_list_t;
 
84
  
 
85
  drop_list_t drop_list;
 
86
  alter_list_t alter_list;
86
87
  List<Key> key_list;
87
88
  List<CreateField> create_list;
88
89
  message::AlterTable alter_proto;