~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 08:07:57 UTC
  • mto: This revision was merged to the branch mainline in revision 2036.
  • Revision ID: brian@tangent.org-20101226080757-x1fceftnb2la0v4y
Move class_decimal2int to a method on Decimal.

Show diffs side-by-side

added added

removed removed

Lines of Context:
285
285
 
286
286
  ASSERT_COLUMN_MARKED_FOR_READ;
287
287
 
288
 
  class_decimal2int(E_DEC_FATAL_ERROR, val_decimal(&decimal_value), false, &i);
 
288
  val_decimal(&decimal_value)->val_int32(E_DEC_FATAL_ERROR, false, &i);
289
289
 
290
290
  return i;
291
291
}