~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/cache_decimal.cc

  • Committer: Stewart Smith
  • Date: 2011-01-14 05:16:49 UTC
  • mto: (2086.1.3 build)
  • mto: This revision was merged to the branch mainline in revision 2087.
  • Revision ID: stewart@flamingspork.com-20110114051649-4kg0mdrgdtako8vp
add a FIXME to flesh out insert docs

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