~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field/decimal.h

  • Committer: Brian Aker
  • Date: 2010-12-25 01:27:46 UTC
  • mto: This revision was merged to the branch mainline in revision 2031.
  • Revision ID: brian@tangent.org-20101225012746-74bry8287d0aym8s
Change my_decimal to Decimal

Show diffs side-by-side

added added

removed removed

Lines of Context:
63
63
  enum ha_base_keytype key_type() const { return HA_KEYTYPE_BINARY; }
64
64
  Item_result result_type () const { return DECIMAL_RESULT; }
65
65
  int  reset(void);
66
 
  bool store_value(const my_decimal *decimal_value);
67
 
  void set_value_on_overflow(my_decimal *decimal_value, bool sign);
 
66
  bool store_value(const type::Decimal *decimal_value);
 
67
  void set_value_on_overflow(type::Decimal *decimal_value, bool sign);
68
68
  int  store(const char *to, uint32_t length, const CHARSET_INFO * const charset);
69
69
  int  store(double nr);
70
70
  int  store(int64_t nr, bool unsigned_val);
71
71
  int store_time(DRIZZLE_TIME *ltime, enum enum_drizzle_timestamp_type t_type);
72
 
  int  store_decimal(const my_decimal *);
 
72
  int  store_decimal(const type::Decimal *);
73
73
  double val_real(void);
74
74
  int64_t val_int(void);
75
 
  my_decimal *val_decimal(my_decimal *);
 
75
  type::Decimal *val_decimal(type::Decimal *);
76
76
  String *val_str(String*, String *);
77
77
  int cmp(const unsigned char *, const unsigned char *);
78
78
  void sort_string(unsigned char *buff, uint32_t length);