diff options
author | unknown <ingo/mydev@chilla.local> | 2006-07-30 06:19:30 +0200 |
---|---|---|
committer | unknown <ingo/mydev@chilla.local> | 2006-07-30 06:19:30 +0200 |
commit | 9493d46476230837d7bc27d5c938105d471bb5a4 (patch) | |
tree | 861cd86f67d73e6d629a3a9183f3833a851c4185 /myisam | |
parent | 86400c60b2a0180f25aabe912dd7e77128aafcec (diff) | |
download | mariadb-git-9493d46476230837d7bc27d5c938105d471bb5a4.tar.gz |
Bug#20719 - Reading dynamic records with write buffer could fail
After merge fix
Diffstat (limited to 'myisam')
-rw-r--r-- | myisam/mi_dynrec.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/myisam/mi_dynrec.c b/myisam/mi_dynrec.c index f834cc5a724..ef5ab73f1a9 100644 --- a/myisam/mi_dynrec.c +++ b/myisam/mi_dynrec.c @@ -1187,9 +1187,6 @@ int _mi_read_dynamic_record(MI_INFO *info, my_off_t filepos, byte *buf) info->rec_cache.pos_in_file < filepos + MI_BLOCK_INFO_HEADER_LENGTH && flush_io_cache(&info->rec_cache)) goto err; - /* A corrupted table can have wrong pointers. (Bug# 19835) */ - if (block_info.next_filepos == HA_OFFSET_ERROR) - goto panic; info->rec_cache.seek_not_done=1; if ((b_type= _mi_get_block_info(&block_info, file, filepos)) & (BLOCK_DELETED | BLOCK_ERROR | BLOCK_SYNC_ERROR | |