~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field/enum.h

  • Committer: Stewart Smith
  • Date: 2010-06-04 02:51:04 UTC
  • mto: This revision was merged to the branch mainline in revision 1590.
  • Revision ID: stewart@flamingspork.com-20100604025104-ilf5mrvwbpd5crzv
have a constant for the maximum number of enum elements

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
  using Field::val_str;
38
38
  using Field::cmp;
39
39
 
 
40
  static const int max_supported_elements = 0x10000;
 
41
 
40
42
  /** Internal storage for the string values of the ENUM */
41
43
  TYPELIB *typelib;
42
44
  Field_enum(unsigned char *ptr_arg,