~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/string.h

  • Committer: Mark Atwood
  • Date: 2011-10-14 15:59:08 UTC
  • mfrom: (2430.1.12 refactor3a)
  • Revision ID: me@mark.atwood.name-20111014155908-whqmrmaf2grpsg5c
mergeĀ lp:~olafvdspek/drizzle/refactor3

Show diffs side-by-side

added added

removed removed

Lines of Context:
86
86
    return new Item_string(name, str_value.ptr(), str_value.length(), collation.collation);
87
87
  }
88
88
  Item *safe_charset_converter(const charset_info_st * const tocs);
89
 
  inline void append(char *str, uint32_t length)
 
89
  inline void append(str_ref v)
90
90
  {
91
 
    str_value.append(str, length);
 
91
    str_value.append(v);
92
92
    max_length= str_value.numchars() * collation.collation->mbmaxlen;
93
93
  }
94
94
  virtual void print(String *str);