~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/hex_string.cc

  • Committer: Olaf van der Spek
  • Date: 2011-06-27 14:23:35 UTC
  • mto: This revision was merged to the branch mainline in revision 2350.
  • Revision ID: olafvdspek@gmail.com-20110627142335-38y17d8xxczy6ilm
Refactor

Show diffs side-by-side

added added

removed removed

Lines of Context:
144
144
  Item_string *conv;
145
145
  String tmp, *str= val_str(&tmp);
146
146
 
147
 
  if (!(conv= new Item_string(str->ptr(), str->length(), tocs)))
148
 
    return NULL;
 
147
  conv= new Item_string(str->ptr(), str->length(), tocs);
149
148
  conv->str_value.copy();
150
149
  conv->str_value.mark_as_const();
151
150
  return conv;