43
int _mi_read_cache(IO_CACHE *info, unsigned char *buff, my_off_t pos, uint32_t length,
44
int _mi_read_cache(internal::IO_CACHE *info, unsigned char *buff, internal::my_off_t pos, uint32_t length,
46
47
uint32_t read_length,in_buff_length;
48
49
unsigned char *in_buff_pos;
50
51
if (pos < info->pos_in_file)
54
55
read_length=(uint) (info->pos_in_file-pos);
56
57
if (my_pread(info->file,buff,read_length,pos,MYF(MY_NABP)))