~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/float.cc

  • Committer: Mark Atwood
  • Date: 2011-06-27 19:01:37 UTC
  • mfrom: (2318.6.90 refactor16)
  • Revision ID: me@mark.atwood.name-20110627190137-iflt3vku0kw77l8a
mergeĀ lp:~olafvdspek/drizzle/refactor17

Show diffs side-by-side

added added

removed removed

Lines of Context:
160
160
  char buf[64];
161
161
  String *s, tmp(buf, sizeof(buf), &my_charset_bin);
162
162
  s= val_str(&tmp);
163
 
  if ((conv= new Item_static_string_func(func_name, s->ptr(), s->length(),
164
 
                                         s->charset())))
165
 
  {
166
 
    conv->str_value.copy();
167
 
    conv->str_value.mark_as_const();
168
 
  }
 
163
  conv= new Item_static_string_func(func_name, s->ptr(), s->length(), s->charset());
 
164
  conv->str_value.copy();
 
165
  conv->str_value.mark_as_const();
169
166
  return conv;
170
167
}
171
168