~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field/enum.h

Merge Monty

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
 
24
24
#include "drizzled/field/str.h"
25
25
 
 
26
namespace drizzled
 
27
{
 
28
 
26
29
class Field_enum :public Field_str 
27
30
{
28
31
protected:
55
58
  {
56
59
    flags|= ENUM_FLAG;
57
60
  }
58
 
  Field *new_field(drizzled::memory::Root *root, Table *new_table, bool keep_type);
 
61
  Field *new_field(memory::Root *root, Table *new_table, bool keep_type);
59
62
  enum ha_base_keytype key_type() const;
60
63
  int  store(const char *to, uint32_t length, const CHARSET_INFO * const);
61
64
  int  store(double nr);
116
119
  const CHARSET_INFO *sort_charset(void) const { return &my_charset_bin; }
117
120
};
118
121
 
 
122
} /* namespace drizzled */
 
123
 
119
124
#endif /* DRIZZLED_FIELD_ENUM_H */