~drizzle-pbxt/drizzle/drizzle-pbxt-4-pbxt

« back to all changes in this revision

Viewing changes to drizzled/item/decimal.h

  • Committer: Vladimir Kolesnikov
  • Date: 2010-03-10 13:00:36 UTC
  • mfrom: (1014.3.309 staging)
  • Revision ID: vladimir@primebase.org-20100310130036-gu5qlkwld3rn8g12
merge from upstream lp:drizzle rev.1323

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
 
23
23
#include <drizzled/item/num.h>
24
24
 
 
25
namespace drizzled
 
26
{
 
27
 
25
28
/* decimal (fixed point) constant */
26
29
class Item_decimal :public Item_num
27
30
{
38
41
 
39
42
  enum Type type() const { return DECIMAL_ITEM; }
40
43
  enum Item_result result_type () const { return DECIMAL_RESULT; }
41
 
  enum_field_types field_type() const { return DRIZZLE_TYPE_NEWDECIMAL; }
 
44
  enum_field_types field_type() const { return DRIZZLE_TYPE_DECIMAL; }
42
45
  int64_t val_int();
43
46
  double val_real();
44
47
  String *val_str(String*);
62
65
  void set_decimal_value(my_decimal *value_par);
63
66
};
64
67
 
 
68
} /* namespace drizzled */
 
69
 
65
70
#endif /* DRIZZLED_ITEM_DECIMAL_H */