~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/function/math/int.h

mergeĀ mainline

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
#include <drizzled/function/func.h>
24
24
#include <drizzled/sql_list.h>
25
25
 
26
 
namespace drizzled
27
 
{
28
 
 
29
26
class Item_int_func :public Item_func
30
27
{
31
28
public:
36
33
  { max_length= 21; }
37
34
  Item_int_func(List<Item> &list) :Item_func(list) { max_length= 21; }
38
35
  Item_int_func(Session *session, Item_int_func *item) :Item_func(session, item) {}
39
 
  virtual ~Item_int_func();
40
36
  double val_real();
41
37
  String *val_str(String*str);
42
38
  enum Item_result result_type () const { return INT_RESULT; }
43
39
  void fix_length_and_dec() {}
44
40
};
45
41
 
46
 
} /* namespace drizzled */
47
 
 
48
42
#endif /* DRIZZLED_FUNCTION_MATH_INT_H */