~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/float.cc

  • Committer: Mark Atwood
  • Date: 2011-10-21 14:25:19 UTC
  • mfrom: (2440.2.28 rf)
  • Revision ID: me@mark.atwood.name-20111021142519-bqnyqrkthibv70rc
Tags: 2011.10.28
mergeĀ lp:~olafvdspek/drizzle/refactor6

Show diffs side-by-side

added added

removed removed

Lines of Context:
158
158
  char buf[64];
159
159
  String tmp(buf, sizeof(buf), &my_charset_bin);
160
160
  String* s= val_str(&tmp);
161
 
  Item_string* conv= new Item_static_string_func(func_name, s->ptr(), s->length(), s->charset());
 
161
  Item_string* conv= new Item_static_string_func(func_name, *s, s->charset());
162
162
  conv->str_value.copy();
163
163
  conv->str_value.mark_as_const();
164
164
  return conv;