~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to server/field/varstring.cc

  • Committer: Brian Aker
  • Date: 2008-07-26 18:39:33 UTC
  • mfrom: (212.1.3 codestyle)
  • Revision ID: brian@tangent.org-20080726183933-hueup0fcy2zs1hug
Merge Monty

Show diffs side-by-side

added added

removed removed

Lines of Context:
336
336
*/
337
337
 
338
338
const uchar *
339
 
Field_varstring::unpack_key(uchar *to __attribute__((__unused__)),
 
339
Field_varstring::unpack_key(uchar *to __attribute__((unused)),
340
340
                            const uchar *key, uint max_length,
341
341
                            bool low_byte_first __attribute__((unused)))
342
342
{
492
492
 
493
493
uint Field_varstring::get_key_image(uchar *buff,
494
494
                                    uint length,
495
 
                                    imagetype type __attribute__((__unused__)))
 
495
                                    imagetype type __attribute__((unused)))
496
496
{
497
497
  uint f_length=  length_bytes == 1 ? (uint) *ptr : uint2korr(ptr);
498
498
  uint local_char_length= length / field_charset->mbmaxlen;