~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/cache_decimal.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:
43
43
{
44
44
  assert(fixed);
45
45
  int64_t res;
46
 
  class_decimal2int(E_DEC_FATAL_ERROR, &decimal_value, unsigned_flag, &res);
 
46
  decimal_value.val_int32(E_DEC_FATAL_ERROR, unsigned_flag, &res);
47
47
  return res;
48
48
}
49
49