~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/math_functions/floor.cc

  • Committer: Brian Aker
  • Date: 2010-12-27 23:56:33 UTC
  • mfrom: (2034.2.5 clean)
  • Revision ID: brian@tangent.org-20101227235633-9wwf7j35lkf0g262
Merge in additional encapsulation of Decimal

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
  {
37
37
    type::Decimal dec_buf, *dec;
38
38
    if ((dec= Item_func_floor::decimal_op(&dec_buf)))
39
 
      class_decimal2int(E_DEC_FATAL_ERROR, dec, unsigned_flag, &result);
 
39
      dec->val_int32(E_DEC_FATAL_ERROR, unsigned_flag, &result);
40
40
    else
41
41
      result= 0;
42
42
    break;