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