~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/decimal.cc

  • Committer: Brian Aker
  • Date: 2011-02-04 10:18:35 UTC
  • mfrom: (2143.1.4 drizzle-build)
  • Revision ID: brian@tangent.org-20110204101835-j23pv0febg9p0a2p
Merge of all local trees.

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