83
82
info->read_pos=info->read_end; /* All block used */
84
83
if (!(*info->read_function)(info,buff,length))
91
90
if ((read_length=my_pread(info->file,buff,length,pos,MYF(0))) == length)
94
93
if (!(flag & READING_HEADER) || (int) read_length == -1 ||
95
94
read_length+in_buff_length < 3)
100
96
if (!my_errno || my_errno == -1)
101
97
my_errno=HA_ERR_WRONG_IN_RECORD;
104
100
bzero(buff+read_length,MI_BLOCK_INFO_HEADER_LENGTH - in_buff_length -