~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/function/math/plus.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:
53
53
    \# Value of operation as a decimal
54
54
*/
55
55
 
56
 
my_decimal *Item_func_plus::decimal_op(my_decimal *decimal_value)
 
56
type::Decimal *Item_func_plus::decimal_op(type::Decimal *decimal_value)
57
57
{
58
 
  my_decimal value1, *val1;
59
 
  my_decimal value2, *val2;
 
58
  type::Decimal value1, *val1;
 
59
  type::Decimal value2, *val2;
60
60
  val1= args[0]->val_decimal(&value1);
61
61
  if ((null_value= args[0]->null_value))
62
62
    return 0;