~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/math_functions/abs.cc

  • Committer: Brian Aker
  • Date: 2010-12-25 00:44:06 UTC
  • mto: This revision was merged to the branch mainline in revision 2031.
  • Revision ID: brian@tangent.org-20101225004406-4xna6p795yqkaony
Second pass through function names.

Show diffs side-by-side

added added

removed removed

Lines of Context:
46
46
  my_decimal val, *value= args[0]->val_decimal(&val);
47
47
  if (!(null_value= args[0]->null_value))
48
48
  {
49
 
    my_decimal2decimal(value, decimal_value);
 
49
    class_decimal2decimal(value, decimal_value);
50
50
    if (decimal_value->sign())
51
51
      class_decimal_neg(decimal_value);
52
52
    return decimal_value;