MySQL 8.4.0
Source Code Documentation
mf_cache.cc File Reference

Open a temporary file and cache it with io_cache. More...

#include <fcntl.h>
#include <stddef.h>
#include "my_dbug.h"
#include "my_inttypes.h"
#include "my_io.h"
#include "my_sys.h"
#include "mysql/psi/mysql_file.h"
#include "mysql/service_mysql_alloc.h"
#include "mysys/mysys_priv.h"

Functions

bool open_cached_file (IO_CACHE *cache, const char *dir, const char *prefix, size_t cache_size, myf cache_myflags)
 
bool real_open_cached_file (IO_CACHE *cache)
 
void close_cached_file (IO_CACHE *cache)
 

Detailed Description

Open a temporary file and cache it with io_cache.

Delete it on close.