~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/myisam/mi_page.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:
75
75
  if ((length=keyinfo->block_length) > IO_SIZE*2 &&
76
76
      info->state->key_file_length != page+length)
77
77
    length= ((mi_getint(buff)+IO_SIZE-1) & (uint) ~(IO_SIZE-1));
78
 
#ifdef HAVE_purify
 
78
#ifdef HAVE_VALGRIND
79
79
  {
80
80
    length=mi_getint(buff);
81
81
    memset(buff+length, 0, keyinfo->block_length-length);