~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field/varstring.h

  • Committer: Brian Aker
  • Date: 2008-12-06 23:57:32 UTC
  • mfrom: (656.1.10 devel)
  • Revision ID: brian@tangent.org-20081206235732-jx228bczpvmxu8ww
Merge from Monty

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
#define DRIZZLE_SERVER_FIELD_VARSTRING
23
23
 
24
24
#include <drizzled/field/longstr.h>
 
25
#include <string>
25
26
 
26
27
class Field_varstring :public Field_longstr {
27
28
public:
67
68
  }
68
69
  void sort_string(unsigned char *buff,uint32_t length);
69
70
  uint32_t get_key_image(unsigned char *buff,uint32_t length, imagetype type);
 
71
  uint32_t get_key_image(std::basic_string <unsigned char> &buff,
 
72
                         uint32_t length, imagetype type);
70
73
  void set_key_image(const unsigned char *buff,uint32_t length);
71
74
  void sql_type(String &str) const;
72
75
  virtual unsigned char *pack(unsigned char *to, const unsigned char *from,