~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field/blob.h

  • Committer: Brian Aker
  • Date: 2011-02-20 21:00:32 UTC
  • mfrom: (2181.2.6 drizzle-build)
  • Revision ID: brian@tangent.org-20110220210032-fc9g8qugt0n1yjr6
Brian Aker 2011-02-20 Merge in additional header bits for strerror_r
Brian Aker 2011-02-20 Create CONST on additional Field methods.
Brian Aker 2011-02-19 Further commit const on field.
Brian Aker 2011-02-18 This fixes DEBUG based compiles.
Brian Aker 2011-02-18 Protect all of the val_* methods from modification.

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
    {