diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2018-11-07 08:02:18 +0200 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2018-11-07 08:02:18 +0200 |
commit | 5f29fdecc0e22048e860ac256cc071ce206d453e (patch) | |
tree | ff7f2a1d051443fd3067219ff3006a7878cc88f0 /mysys/mf_iocache.c | |
parent | 9c026273a923f3433ad622124d7a008ce6b5c487 (diff) | |
parent | b68d8a05d326bed43aefa73d717c0307278ca6bb (diff) | |
download | mariadb-git-5f29fdecc0e22048e860ac256cc071ce206d453e.tar.gz |
Merge 5.5 into 10.0
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 f356aa91929..bb638c94d18 100644 --- a/mysys/mf_iocache.c +++ b/mysys/mf_iocache.c @@ -282,6 +282,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 */ |