~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field/blob.h

  • Committer: Patrick Crews
  • Date: 2010-12-07 20:02:50 UTC
  • Revision ID: gleebix@gmail.com-20101207200250-6a27jgqalgw5bsb5
Added disabled.def file to disable drizzleslap due to Bug#684269.  Need to skip for tarball release this round

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
 
28
28
#include <string>
29
29
 
30
 
#include "drizzled/visibility.h"
31
 
 
32
30
namespace drizzled
33
31
{
34
32
 
35
33
/**
36
34
 * Class representing a BLOB data type column
37
35
 */
38
 
class DRIZZLED_API Field_blob :
39
 
  public Field_str
40
 
{
 
36
class Field_blob :public Field_str {
41
37
protected:
42
38
  String value;                         // For temporaries
43
39
public:
80
76
  double val_real(void);
81
77
  int64_t val_int(void);
82
78
  String *val_str(String*,String *);
83
 
  type::Decimal *val_decimal(type::Decimal *);
 
79
  my_decimal *val_decimal(my_decimal *);
84
80
  int cmp_max(const unsigned char *, const unsigned char *, uint32_t max_length);
85
81
  int cmp(const unsigned char *a,const unsigned char *b)
86
82
    { return cmp_max(a, b, UINT32_MAX); }
132
128
  */
133
129
  uint32_t get_packed_size(const unsigned char *ptr_arg, bool low_byte_first);
134
130
 
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);
 
131
  uint32_t get_length(uint32_t row_offset= 0);
 
132
  uint32_t get_length(const unsigned char *ptr, bool low_byte_first);
 
133
  uint32_t get_length(const unsigned char *ptr_arg);
138
134
  void put_length(unsigned char *pos, uint32_t length);
139
135
  inline void get_ptr(unsigned char **str)
140
136
    {