~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/ref.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:
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