~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field/fstring.h

  • Committer: Brian Aker
  • Date: 2008-07-31 19:40:12 UTC
  • Revision ID: brian@tangent.org-20080731194012-oat11oy5vombrb1b
First pass of CHAR removal.

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
 
42
42
  enum_field_types type() const
43
43
  {
44
 
    return  DRIZZLE_TYPE_STRING;
 
44
    return  DRIZZLE_TYPE_VARCHAR;
45
45
  }
46
46
  enum ha_base_keytype key_type() const
47
47
    { return binary() ? HA_KEYTYPE_BINARY : HA_KEYTYPE_TEXT; }
75
75
  uint packed_col_length(const uchar *to, uint length);
76
76
  uint max_packed_col_length(uint max_length);
77
77
  uint size_of() const { return sizeof(*this); }
78
 
  enum_field_types real_type() const { return DRIZZLE_TYPE_STRING; }
 
78
  enum_field_types real_type() const { return DRIZZLE_TYPE_VARCHAR; }
79
79
  bool has_charset(void) const
80
80
  { return charset() == &my_charset_bin ? false : true; }
81
81
  Field *new_field(MEM_ROOT *root, struct st_table *new_table, bool keep_type);