~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/decimal.h

  • Committer: Padraig O'Sullivan
  • Date: 2009-09-13 00:53:34 UTC
  • mto: (1126.9.2 captain-20090915-01)
  • mto: This revision was merged to the branch mainline in revision 1133.
  • Revision ID: osullivan.padraig@gmail.com-20090913005334-6wio2sbjugskfbm3
Added calls to the connection start/end dtrace probes.

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