~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/decimal.cc

Merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
102
102
String *Item_decimal::val_str(String *result)
103
103
{
104
104
  result->set_charset(&my_charset_bin);
105
 
  class_decimal2string(E_DEC_FATAL_ERROR, &decimal_value, 0, 0, 0, result);
 
105
  class_decimal2string(&decimal_value, 0, result);
106
106
  return result;
107
107
}
108
108
 
109
109
void Item_decimal::print(String *str, enum_query_type)
110
110
{
111
 
  class_decimal2string(E_DEC_FATAL_ERROR, &decimal_value, 0, 0, 0, &str_value);
 
111
  class_decimal2string(&decimal_value, 0, &str_value);
112
112
  str->append(str_value);
113
113
}
114
114