22
22
#include <drizzled/function/func.h>
23
23
#include <drizzled/function/math/real.h>
33
Item_func_units(char *name_arg,Item *a,double mul_arg,double add_arg)
34
:Item_real_func(a),name(name_arg),mul(mul_arg),add(add_arg) {}
30
Item_func_units(const char *name_arg, Item *a, double mul_arg, double add_arg)
31
: Item_real_func(a),name(name_arg),mul(mul_arg),add(add_arg) {}
36
33
const char *func_name() const { return name; }
37
34
void fix_length_and_dec()
38
35
{ decimals= NOT_FIXED_DEC; max_length= float_length(decimals); }
41
42
} /* namespace drizzled */