~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/num.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:
44
44
  char buf[64];
45
45
  String *s, tmp(buf, sizeof(buf), &my_charset_bin);
46
46
  s= val_str(&tmp);
47
 
  if ((conv= new Item_string(s->ptr(), s->length(), s->charset())))
48
 
  {
49
 
    conv->str_value.copy();
50
 
    conv->str_value.mark_as_const();
51
 
  }
 
47
  conv= new Item_string(s->ptr(), s->length(), s->charset());
 
48
  conv->str_value.copy();
 
49
  conv->str_value.mark_as_const();
52
50
  return conv;
53
51
}
54
52