~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/string_functions/format.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:
80
80
    if ((null_value=args[0]->null_value))
81
81
      return 0;
82
82
    class_decimal_round(E_DEC_FATAL_ERROR, res, dec, false, &rnd_dec);
83
 
    class_decimal2string(E_DEC_FATAL_ERROR, &rnd_dec, 0, 0, 0, str);
 
83
    class_decimal2string(&rnd_dec, 0, str);
84
84
    str_length= str->length();
85
85
    if (rnd_dec.sign())
86
86
      str_length--;