83
80
/* Read the next block of index file into the preload buffer */
84
81
if ((my_off_t) length > (key_file_length-pos))
86
if (my_pread(share->kfile, (unsigned char*) buff, length, pos, MYF(MY_FAE|MY_FNABP)))
83
if (my_pread(share->kfile, (uchar*) buff, length, pos, MYF(MY_FAE|MY_FNABP)))
94
91
if (mi_test_if_nod(buff))
96
93
if (key_cache_insert(share->key_cache,
97
94
share->kfile, pos, DFLT_INIT_HITS,