Merge 10.1 into 10.2

This commit is contained in:
Marko Mäkelä
2018-11-07 08:17:47 +02:00
15 changed files with 166 additions and 111 deletions

View File

@ -296,6 +296,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 */