~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/ref.cc

  • Committer: Brian Aker
  • Date: 2010-12-26 22:31:33 UTC
  • mto: This revision was merged to the branch mainline in revision 2036.
  • Revision ID: brian@tangent.org-20101226223133-6470gt27jtgm9k7z
FurtherĀ encapsulationĀ forĀ DECIMAL.

Show diffs side-by-side

added added

removed removed

Lines of Context:
457
457
        type::Decimal decimal_value;
458
458
        type::Decimal *val= result_field->val_decimal(&decimal_value);
459
459
        if (val)
460
 
          return !class_decimal_is_zero(val);
 
460
          return not val->is_zero();
461
461
        return 0;
462
462
      }
463
463