~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/create_field.h

MergedĀ build.

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
 
23
23
#include "drizzled/field.h"
24
24
 
 
25
namespace drizzled
 
26
{
 
27
 
25
28
class Item;
26
29
typedef struct st_typelib TYPELIB;
27
30
 
31
34
 * Basically, all information for a new or altered field
32
35
 * definition is contained in the Create_field class.
33
36
 */
34
 
class CreateField :public drizzled::memory::SqlAlloc
 
37
class CreateField :public memory::SqlAlloc
35
38
{
36
39
public:
37
40
  const char *field_name; /**< Name of the field to be created */
67
70
  CreateField() :after(0) {}
68
71
  CreateField(Field *field, Field *orig_field);
69
72
  /* Used to make a clone of this object for ALTER/CREATE TABLE */
70
 
  CreateField *clone(drizzled::memory::Root *mem_root) const
 
73
  CreateField *clone(memory::Root *mem_root) const
71
74
    { return new (mem_root) CreateField(*this); }
72
75
  void create_length_to_internal_length(void);
73
76
 
124
127
            enum column_format_type column_format);
125
128
};
126
129
 
 
130
} /* namespace drizzled */
 
131
 
127
132
#endif /* DRIZZLED_CREATE_FIELD_H */