~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/function/math/minus.cc

  • Committer: Brian Aker
  • Date: 2010-12-25 00:28:49 UTC
  • mto: This revision was merged to the branch mainline in revision 2031.
  • Revision ID: brian@tangent.org-20101225002849-g73mg6ihulajis0o
First pass in refactoring of the name of my_decimal.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
#include "config.h"
21
21
 
22
22
#include <drizzled/function/math/minus.h>
23
 
#include <drizzled/type/decimal.h>
24
23
 
25
24
namespace drizzled
26
25
{
59
58
  See Item_func_plus::decimal_op for comments.
60
59
*/
61
60
 
62
 
type::Decimal *Item_func_minus::decimal_op(type::Decimal *decimal_value)
 
61
my_decimal *Item_func_minus::decimal_op(my_decimal *decimal_value)
63
62
{
64
 
  type::Decimal value1, *val1;
65
 
  type::Decimal value2, *val2=
 
63
  my_decimal value1, *val1;
 
64
  my_decimal value2, *val2=
66
65
 
67
66
  val1= args[0]->val_decimal(&value1);
68
67
  if ((null_value= args[0]->null_value))