~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/myisam/mi_check.c

  • Committer: Kristian Nielsen
  • Date: 2009-01-07 14:35:39 UTC
  • mto: (779.1.1 devel)
  • mto: This revision was merged to the branch mainline in revision 784.
  • Revision ID: knielsen@odin-20090107143539-kjous9qd0fo5ezgs
Fix a few warnings when building with -DHAVE_purify

Show diffs side-by-side

added added

removed removed

Lines of Context:
2884
2884
     _mi_make_key(info, sort_param->key, (unsigned char*) key,
2885
2885
                  sort_param->record, sort_param->filepos));
2886
2886
#ifdef HAVE_purify
2887
 
  memset(key+sort_param->real_key_length, 0,
 
2887
  memset((unsigned char *)key+sort_param->real_key_length, 0,
2888
2888
         (sort_param->key_length-sort_param->real_key_length));
2889
2889
#endif
2890
2890
  return(sort_write_record(sort_param));