~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field/varstring.h

  • Committer: Patrick Galbraith
  • Date: 2008-08-22 20:19:13 UTC
  • mfrom: (365.1.2 drizzle)
  • Revision ID: patg@radha.local-20080822201913-njjzdfrlihco6ap1
Merge with trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
70
70
  int64_t val_int(void);
71
71
  String *val_str(String*,String *);
72
72
  my_decimal *val_decimal(my_decimal *);
73
 
  int cmp_max(const uchar *, const uchar *, uint max_length);
 
73
  int cmp_max(const uchar *, const uchar *, uint32_t max_length);
74
74
  int cmp(const uchar *a,const uchar *b)
75
75
  {
76
 
    return cmp_max(a, b, ~0L);
 
76
    return cmp_max(a, b, UINT32_MAX);
77
77
  }
78
78
  void sort_string(uchar *buff,uint length);
79
79
  uint get_key_image(uchar *buff,uint length, imagetype type);
91
91
  int pack_cmp(const uchar *a, const uchar *b, uint key_length,
92
92
               bool insert_or_update);
93
93
  int pack_cmp(const uchar *b, uint key_length,bool insert_or_update);
94
 
  int cmp_binary(const uchar *a,const uchar *b, uint32_t max_length=~0L);
 
94
  int cmp_binary(const uchar *a,const uchar *b, uint32_t max_length=UINT32_MAX);
95
95
  int key_cmp(const uchar *,const uchar*);
96
96
  int key_cmp(const uchar *str, uint length);
97
97
  uint packed_col_length(const uchar *to, uint length);