~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to server/field.h

  • Committer: Patrick Galbraith
  • Date: 2008-07-28 01:47:41 UTC
  • mto: (212.1.8 codestyle)
  • mto: This revision was merged to the branch mainline in revision 217.
  • Revision ID: patg@ishvara-20080728014741-yoasv5trt1ef9rha
Renamed FIELD_TYPE to DRIZZLE_TYPE

Show diffs side-by-side

added added

removed removed

Lines of Context:
653
653
               0, zero_arg,unsigned_arg)
654
654
    {}
655
655
  enum Item_result result_type () const { return INT_RESULT; }
656
 
  enum_field_types type() const { return FIELD_TYPE_TINY;}
 
656
  enum_field_types type() const { return DRIZZLE_TYPE_TINY;}
657
657
  enum ha_base_keytype key_type() const
658
658
    { return unsigned_flag ? HA_KEYTYPE_BINARY : HA_KEYTYPE_INT8; }
659
659
  int store(const char *to,uint length,CHARSET_INFO *charset);
706
706
      flags|=ENUM_FLAG;
707
707
  }
708
708
  Field *new_field(MEM_ROOT *root, struct st_table *new_table, bool keep_type);
709
 
  enum_field_types type() const { return FIELD_TYPE_STRING; }
 
709
  enum_field_types type() const { return DRIZZLE_TYPE_STRING; }
710
710
  enum Item_result cmp_type () const { return INT_RESULT; }
711
711
  enum Item_result cast_to_int_type () const { return INT_RESULT; }
712
712
  enum ha_base_keytype key_type() const;
722
722
  void store_type(uint64_t value);
723
723
  void sql_type(String &str) const;
724
724
  uint size_of() const { return sizeof(*this); }
725
 
  enum_field_types real_type() const { return FIELD_TYPE_ENUM; }
 
725
  enum_field_types real_type() const { return DRIZZLE_TYPE_ENUM; }
726
726
  uint pack_length_from_metadata(uint field_metadata)
727
727
  { return (field_metadata & 0x00ff); }
728
728
  uint row_pack_length() { return pack_length(); }