diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2018-11-07 08:08:45 +0200 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2018-11-07 08:08:45 +0200 |
commit | 59c82dde09984d10f16417c9c82cd759f81d770c (patch) | |
tree | e2cb02d72256cdf475ce7450a1d17675a392e6bc /mysys/mf_iocache.c | |
parent | ef40018535b71f0a4387fa6c1cc22e9991dfc0db (diff) | |
parent | 5f29fdecc0e22048e860ac256cc071ce206d453e (diff) | |
download | mariadb-git-59c82dde09984d10f16417c9c82cd759f81d770c.tar.gz |
Merge 10.0 into 10.1
Diffstat (limited to 'mysys/mf_iocache.c')
-rw-r--r-- | mysys/mf_iocache.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mysys/mf_iocache.c b/mysys/mf_iocache.c index 79893d6f7c1..5072a32206b 100644 --- a/mysys/mf_iocache.c +++ b/mysys/mf_iocache.c @@ -325,6 +325,10 @@ int init_io_cache(IO_CACHE *info, File file, size_t cachesize, } info->inited=info->aio_result.pending=0; #endif + if (type == READ_CACHE || type == WRITE_CACHE || type == SEQ_READ_APPEND) + info->myflags|= MY_FULL_IO; + else + info->myflags&= ~MY_FULL_IO; DBUG_RETURN(0); } /* init_io_cache */ |