~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-25 01:27:46 UTC
  • mto: This revision was merged to the branch mainline in revision 2031.
  • Revision ID: brian@tangent.org-20101225012746-74bry8287d0aym8s
Change my_decimal to Decimal

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
 
27
27
void Item_cache_decimal::store(Item *item)
28
28
{
29
 
  my_decimal *val= item->val_decimal_result(&decimal_value);
 
29
  type::Decimal *val= item->val_decimal_result(&decimal_value);
30
30
  if (!(null_value= item->null_value) && val != &decimal_value)
31
31
    class_decimal2decimal(val, &decimal_value);
32
32
}
56
56
  return str;
57
57
}
58
58
 
59
 
my_decimal *Item_cache_decimal::val_decimal(my_decimal *)
 
59
type::Decimal *Item_cache_decimal::val_decimal(type::Decimal *)
60
60
{
61
61
  assert(fixed);
62
62
  return &decimal_value;