summaryrefslogtreecommitdiff
path: root/mysys/mf_iocache.c
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2018-02-11 00:23:17 +0100
committerSergei Golubchik <serg@mariadb.org>2018-02-11 13:47:16 +0100
commit49bcc82686c9c305d376183ba4f7bafcbab96bc3 (patch)
tree24321dfbc4350532990dcc60b8eec441b6b9ca00 /mysys/mf_iocache.c
parent7ed01563842cef3a5f8fe13d8538cd766fb8fc7a (diff)
parentb88542681b884951308e49c99caa3435cb719f09 (diff)
downloadmariadb-git-49bcc82686c9c305d376183ba4f7bafcbab96bc3.tar.gz
Merge branch '10.1' into 10.2
Diffstat (limited to 'mysys/mf_iocache.c')
-rw-r--r--mysys/mf_iocache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/mf_iocache.c b/mysys/mf_iocache.c
index 8e1358ef939..aea41886f05 100644
--- a/mysys/mf_iocache.c
+++ b/mysys/mf_iocache.c
@@ -508,7 +508,7 @@ my_bool reinit_io_cache(IO_CACHE *info, enum cache_type type,
info->read_end= info->buffer;
_my_b_encr_read(info, 0, 0); /* prefill the buffer */
info->write_pos= info->read_pos;
- info->pos_in_file+= info->buffer_length;
+ info->seek_not_done=1;
}
}
else