summaryrefslogtreecommitdiff
path: root/myisam
diff options
context:
space:
mode:
authorunknown <istruewing@chilla.local>2006-09-27 11:55:30 +0200
committerunknown <istruewing@chilla.local>2006-09-27 11:55:30 +0200
commit8948564e0d6fa1c7adfc599e95854f31f82790d5 (patch)
treece5df5f38b7198853d726b42381f38fb97011269 /myisam
parent850b668869d565c3e17c28d2b2eb28da38571c82 (diff)
downloadmariadb-git-8948564e0d6fa1c7adfc599e95854f31f82790d5.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.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/myisam/mi_dynrec.c b/myisam/mi_dynrec.c
index e2d24ccb39e..4dec3055fa1 100644
--- a/myisam/mi_dynrec.c
+++ b/myisam/mi_dynrec.c
@@ -1148,9 +1148,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 |