diff options
author | Alexander Barkov <bar@mariadb.org> | 2018-02-12 10:03:28 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mariadb.org> | 2018-02-12 10:03:28 +0400 |
commit | da99e086f90a4ec5a1188e51f4cc1dfc952ba771 (patch) | |
tree | 78fe85a44e55865d8cf7628764d5545f3f5e629b /mysys/mf_iocache.c | |
parent | 5559905d4186ce62c9df49d41d0f05c1189fd753 (diff) | |
parent | 7a106d19614cb052ecf245e3825b9510e8029ba0 (diff) | |
download | mariadb-git-da99e086f90a4ec5a1188e51f4cc1dfc952ba771.tar.gz |
Merge remote-tracking branch 'origin/10.2' into bb-10.2-ext
Diffstat (limited to 'mysys/mf_iocache.c')
-rw-r--r-- | mysys/mf_iocache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/mf_iocache.c b/mysys/mf_iocache.c index 09adb704622..c0e4227c043 100644 --- a/mysys/mf_iocache.c +++ b/mysys/mf_iocache.c @@ -512,7 +512,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 |