22#include <drizzled/function/func.h>
23#include <drizzled/function/math/int_val.h>
28class Item_func_ceiling :
public Item_func_int_val
31 Item_func_ceiling() :Item_func_int_val() {}
32 const char *func_name()
const {
return "ceiling"; }
type::Decimal * decimal_op(type::Decimal *)
Performs the operation that this functions implements when the result type is DECIMAL.
bool check_argument_count(int n)
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.