~ubuntu-branches/ubuntu/trusty/drizzle/trusty

« back to all changes in this revision

Viewing changes to drizzled/field/decimal.h

  • Committer: Package Import Robot
  • Author(s): Clint Byrum
  • Date: 2012-06-19 10:46:49 UTC
  • mfrom: (1.1.6)
  • mto: This revision was merged to the branch mainline in revision 29.
  • Revision ID: package-import@ubuntu.com-20120619104649-e2l0ggd4oz3um0f4
Tags: upstream-7.1.36-stable
ImportĀ upstreamĀ versionĀ 7.1.36-stable

Show diffs side-by-side

added added

removed removed

Lines of Context:
64
64
  int  reset(void);
65
65
  bool store_value(const type::Decimal *decimal_value);
66
66
  void set_value_on_overflow(type::Decimal *decimal_value, bool sign);
67
 
  int  store(const char *to, uint32_t length, const CHARSET_INFO * const charset);
 
67
  int  store(const char *to, uint32_t length, const charset_info_st * const charset);
68
68
  int  store(double nr);
69
69
  int  store(int64_t nr, bool unsigned_val);
70
70
  int store_time(type::Time &ltime, type::timestamp_t t_type);
76
76
  int cmp(const unsigned char *, const unsigned char *);
77
77
  void sort_string(unsigned char *buff, uint32_t length);
78
78
  bool zero_pack() const { return 0; }
79
 
  void sql_type(String &str) const;
80
79
  uint32_t max_display_length() { return field_length; }
81
80
  uint32_t size_of() const { return sizeof(*this); }
82
81
  uint32_t pack_length() const { return (uint32_t) bin_size; }