~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/myisam/mi_check.cc

  • Committer: Brian Aker
  • Date: 2010-10-20 20:25:52 UTC
  • mto: (1864.2.1 merge)
  • mto: This revision was merged to the branch mainline in revision 1865.
  • Revision ID: brian@tangent.org-20101020202552-51y5sz5ledoxbp7t
Add support for --with-valgrind

Show diffs side-by-side

added added

removed removed

Lines of Context:
2368
2368
    (info->s->rec_reflength+
2369
2369
     _mi_make_key(info, sort_param->key, (unsigned char*) key,
2370
2370
                  sort_param->record, sort_param->filepos));
2371
 
#ifdef HAVE_purify
 
2371
#ifdef HAVE_VALGRIND
2372
2372
  memset((unsigned char *)key+sort_param->real_key_length, 0,
2373
2373
         (sort_param->key_length-sort_param->real_key_length));
2374
2374
#endif