22#include <drizzled/function/func.h>
23#include <drizzled/function/additive_op.h>
28class Item_func_plus :
public Item_func_additive_op
31 Item_func_plus(
Item *a,
Item *b) :Item_func_additive_op(a,b) {}
32 const char *func_name()
const {
return "+"; }
type::Decimal * decimal_op(type::Decimal *)
double real_op()
Performs the operation that this functions implements when the result type is REAL.
int64_t int_op()
Performs the operation that this functions implements when the result type is INT.
TODO: Rename this file - func.h is stupid.