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