18 #include "myisamdef.h"
20 int mi_scan_init(
register MI_INFO *info)
22 DBUG_ENTER(
"mi_scan_init");
23 info->nextpos=info->s->pack.header_length;
25 if (info->opt_flag & WRITE_CACHE_USED && flush_io_cache(&info->rec_cache))
26 DBUG_RETURN(my_errno);
42 DBUG_ENTER(
"mi_scan");
44 info->update&= (HA_STATE_CHANGED | HA_STATE_ROW_CHANGED);
45 result= (*info->s->read_rnd)(info, buf, info->nextpos, 1);