~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field/varstring.h

  • Committer: Monty Taylor
  • Date: 2008-12-06 07:22:02 UTC
  • mto: (656.1.7 devel) (660.1.5 codestyle)
  • mto: This revision was merged to the branch mainline in revision 665.
  • Revision ID: monty@inaugust.com-20081206072202-2g25o9doqr1l8euu
OOOh doggie. Got rid of my_alloca.

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,