~posulliv/drizzle/memcached_applier

« back to all changes in this revision

Viewing changes to drizzled/field/blob.h

Merged trunk and resolved conflicts.

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
 
26
26
#include <string>
27
27
 
 
28
/**
 
29
 * Class representing a BLOB data type column
 
30
 */
28
31
class Field_blob :public Field_str {
29
32
protected:
30
33
  uint32_t packlength;
161
164
    {
162
165
      set_ptr_offset(0, length, data);
163
166
    }
164
 
  uint32_t get_key_image(unsigned char *buff,uint32_t length, imagetype type);
165
 
  uint32_t get_key_image(std::basic_string<unsigned char> &buff,
166
 
                        uint32_t length, imagetype type);
 
167
  uint32_t get_key_image(unsigned char *buff,uint32_t length);
 
168
  uint32_t get_key_image(std::basic_string<unsigned char> &buff, uint32_t length);
167
169
  void set_key_image(const unsigned char *buff,uint32_t length);
168
170
  void sql_type(String &str) const;
169
171
  inline bool copy()