~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field/blob.h

  • Committer: David Shrewsbury
  • Date: 2011-02-28 14:33:56 UTC
  • mfrom: (2207 bootstrap)
  • mto: (2208.1.3 build)
  • mto: This revision was merged to the branch mainline in revision 2209.
  • Revision ID: shrewsbury.dave@gmail.com-20110228143356-ws2m2tp7an44egkd
Merge with trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
77
77
  int  store(double nr);
78
78
  int  store(int64_t nr, bool unsigned_val);
79
79
 
80
 
  double val_real(void);
81
 
  int64_t val_int(void);
82
 
  String *val_str(String*,String *);
83
 
  type::Decimal *val_decimal(type::Decimal *);
 
80
  double val_real(void) const;
 
81
  int64_t val_int(void) const;
 
82
  String *val_str(String*,String *) const;
 
83
  type::Decimal *val_decimal(type::Decimal *) const;
84
84
  int cmp_max(const unsigned char *, const unsigned char *, uint32_t max_length);
85
85
  int cmp(const unsigned char *a,const unsigned char *b)
86
86
    { return cmp_max(a, b, UINT32_MAX); }
132
132
  */
133
133
  uint32_t get_packed_size(const unsigned char *ptr_arg, bool low_byte_first);
134
134
 
135
 
  DRIZZLED_API uint32_t get_length(uint32_t row_offset= 0);
136
 
  DRIZZLED_API uint32_t get_length(const unsigned char *ptr, bool low_byte_first);
137
 
  DRIZZLED_API uint32_t get_length(const unsigned char *ptr_arg);
 
135
  DRIZZLED_API uint32_t get_length(uint32_t row_offset= 0) const;
 
136
  DRIZZLED_API uint32_t get_length(const unsigned char *ptr, bool low_byte_first) const;
 
137
  DRIZZLED_API uint32_t get_length(const unsigned char *ptr_arg) const;
138
138
  void put_length(unsigned char *pos, uint32_t length);
139
139
  inline void get_ptr(unsigned char **str)
140
140
    {