CMGDK r49-rc2
公有属性
st_io_cache结构参考

#include <my_sys.h>

所有成员的列表。

公有属性

my_off_t pos_in_file
my_off_t end_of_file
ucharread_pos
ucharread_end
ucharbuffer
ucharrequest_pos
ucharwrite_buffer
ucharappend_read_pos
ucharwrite_pos
ucharwrite_end
uchar ** current_pos
uchar ** current_end
int(* read_function )(struct st_io_cache *, uchar *, size_t)
int(* write_function )(struct st_io_cache *, const uchar *, size_t)
enum cache_type type
IO_CACHE_CALLBACK pre_read
IO_CACHE_CALLBACK post_read
IO_CACHE_CALLBACK pre_close
IO_CACHE_CALLBACK post_write
ulong disk_writes
void * arg
char * file_name
char * dir
char * prefix
File file
int seek_not_done
int error
int hard_write_error_in_the_past
size_t buffer_length
size_t read_length
myf myflags
my_bool alloced_buffer

成员数据文档

used by pre/post_read,post_write

Cumulative 'error' since last [re]init_io_cache(). Useful if cache's user polls for errors only once in a while.

called after reading from disk

Called _after_ writing to disk; not honoured by SEQ_READ_APPEND

called before ending the cache

called before reading from disk


该结构的文档由以下文件生成:
 全部  名字空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义