~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/cache_decimal.cc

  • Committer: Brian Aker
  • Date: 2011-01-12 06:45:23 UTC
  • mto: (2073.1.4 catalogs)
  • mto: This revision was merged to the branch mainline in revision 2080.
  • Revision ID: brian@tangent.org-20110112064523-rqhptaqbph22qmj1
RemoveĀ customĀ error.

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
18
18
 */
19
19
 
20
 
#include <config.h>
 
20
#include "config.h"
21
21
 
22
22
#include <drizzled/item/cache_decimal.h>
23
23
 
52
52
  assert(fixed);
53
53
  class_decimal_round(E_DEC_FATAL_ERROR, &decimal_value, decimals, false,
54
54
                   &decimal_value);
55
 
  class_decimal2string(&decimal_value, 0, str);
 
55
  class_decimal2string(E_DEC_FATAL_ERROR, &decimal_value, 0, 0, 0, str);
56
56
  return str;
57
57
}
58
58