~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: Monty Taylor
  • Date: 2010-12-26 03:15:44 UTC
  • mto: This revision was merged to the branch mainline in revision 2038.
  • Revision ID: mordred@inaugust.com-20101226031544-1cf3raipu53fnmyj
Through page.

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
 
23
23
#include <drizzled/function/func.h>
24
24
 
25
 
#include "drizzled/visibility.h"
26
 
 
27
25
namespace drizzled
28
26
{
29
27
 
30
 
class DRIZZLED_API Item_real_func :
31
 
  public Item_func
 
28
class Item_real_func :public Item_func
32
29
{
33
30
public:
34
31
  Item_real_func() :Item_func() {}
36
33
  Item_real_func(Item *a,Item *b) :Item_func(a,b) {}
37
34
  Item_real_func(List<Item> &list) :Item_func(list) {}
38
35
  String *val_str(String*str);
39
 
  type::Decimal *val_decimal(type::Decimal *decimal_value);
 
36
  my_decimal *val_decimal(my_decimal *decimal_value);
40
37
  int64_t val_int();
41
38
  enum Item_result result_type () const { return REAL_RESULT; }
42
39
  void fix_length_and_dec();