MySQL 8.0.40
Source Code Documentation
my_read.cc File Reference
#include "my_config.h"
#include <errno.h>
#include <stddef.h>
#include <sys/types.h>
#include <unistd.h>
#include "my_base.h"
#include "my_dbug.h"
#include "my_inttypes.h"
#include "my_io.h"
#include "my_sys.h"
#include "my_thread_local.h"
#include "mysys_err.h"

Functions

size_t my_read (File fd, uchar *Buffer, size_t Count, myf MyFlags)
 Read a chunk of bytes from a file with retry's if needed If flag MY_FULL_IO is set then keep reading until EOF is found. More...
 

Variables

ssize_t(* mock_read )(int fd, void *buf, size_t count) = nullptr
 

Variable Documentation

◆ mock_read

ssize_t(* mock_read) (int fd, void *buf, size_t count) ( int  fd,
void *  buf,
size_t  count 
) = nullptr