~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/math_functions/ceiling.cc

  • Committer: Brian Aker
  • Date: 2010-12-25 00:28:49 UTC
  • mto: This revision was merged to the branch mainline in revision 2031.
  • Revision ID: brian@tangent.org-20101225002849-g73mg6ihulajis0o
First pass in refactoring of the name of my_decimal.

Show diffs side-by-side

added added

removed removed

Lines of Context:
62
62
{
63
63
  my_decimal val, *value= args[0]->val_decimal(&val);
64
64
  if (!(null_value= (args[0]->null_value ||
65
 
                     my_decimal_ceiling(E_DEC_FATAL_ERROR, value,
 
65
                     class_decimal_ceiling(E_DEC_FATAL_ERROR, value,
66
66
                                        decimal_value) > 1)))
67
67
    return decimal_value;
68
68
  return 0;