~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field/varstring.h

  • Committer: Monty Taylor
  • Date: 2008-08-22 04:23:29 UTC
  • mto: (365.1.2 drizzle)
  • mto: This revision was merged to the branch mainline in revision 368.
  • Revision ID: monty@inaugust.com-20080822042329-ldq50y12vcq8rxh8
Undid some stupid int->int16_t conversions.

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);