~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/create_field.h

  • Committer: lbieber
  • Date: 2010-01-21 18:21:39 UTC
  • mto: This revision was merged to the branch mainline in revision 1277.
  • Revision ID: lbieber@orisndriz08-20100121182139-h549us3gsysyyl0e
clean up japanese tests, remove tests that no longer apply.  In test-run.pl change mysql_version_id to drizzle_version_id

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
 
 
28
25
class Item;
29
26
typedef struct st_typelib TYPELIB;
30
27
 
34
31
 * Basically, all information for a new or altered field
35
32
 * definition is contained in the Create_field class.
36
33
 */
37
 
class CreateField :public memory::SqlAlloc
 
34
class CreateField :public drizzled::memory::SqlAlloc
38
35
{
39
36
public:
40
37
  const char *field_name; /**< Name of the field to be created */
65
62
 
66
63
  uint8_t interval_id;  // For rea_create_table
67
64
  uint32_t offset;
 
65
  uint32_t pack_flag;
68
66
 
69
67
  CreateField() :after(0) {}
70
68
  CreateField(Field *field, Field *orig_field);
71
69
  /* Used to make a clone of this object for ALTER/CREATE TABLE */
72
 
  CreateField *clone(memory::Root *mem_root) const
 
70
  CreateField *clone(drizzled::memory::Root *mem_root) const
73
71
    { return new (mem_root) CreateField(*this); }
74
72
  void create_length_to_internal_length(void);
75
73
 
126
124
            enum column_format_type column_format);
127
125
};
128
126
 
129
 
} /* namespace drizzled */
130
 
 
131
127
#endif /* DRIZZLED_CREATE_FIELD_H */