diff options
Diffstat (limited to 'storage/myisam/mi_page.c')
-rw-r--r-- | storage/myisam/mi_page.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/storage/myisam/mi_page.c b/storage/myisam/mi_page.c index a05a96e514b..dd00d15b77d 100644 --- a/storage/myisam/mi_page.c +++ b/storage/myisam/mi_page.c @@ -86,13 +86,6 @@ int _mi_write_keypage(register MI_INFO *info, register MI_KEYDEF *keyinfo, if ((length=keyinfo->block_length) > IO_SIZE*2 && info->state->key_file_length != page+length) length= ((mi_getint(buff)+IO_SIZE-1) & (uint) ~(IO_SIZE-1)); -#ifdef HAVE_valgrind - { - length=mi_getint(buff); - bzero((uchar*) buff+length,keyinfo->block_length-length); - length=keyinfo->block_length; - } -#endif DBUG_RETURN((key_cache_write(info->s->key_cache, info->s->kfile,page, level, (uchar*) buff,length, (uint) keyinfo->block_length, |