~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/string.h

  • Committer: Olaf van der Spek
  • Date: 2011-10-14 10:56:52 UTC
  • mto: This revision was merged to the branch mainline in revision 2438.
  • Revision ID: olafvdspek@gmail.com-20111014105652-3089oith2v1n3uwr
Add const

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);