~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field/decimal.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:
188
188
                          ER(ER_TRUNCATED_WRONG_VALUE_FOR_FIELD),
189
189
                          "decimal", from_as_str.c_ptr(), field_name,
190
190
                          (uint32_t) getTable()->in_use->row_count);
191
 
      class_decimal_set_zero(&decimal_value);
 
191
      decimal_value.set_zero();
192
192
 
193
193
      break;
194
194
    }