27 if (!info->current_table)
28 return (HA_ERR_KEY_NOT_FOUND);
31 if ((err=mi_rnext(info->current_table->table,NULL,inx)))
33 if (err == HA_ERR_END_OF_FILE)
35 queue_remove(&(info->by_key),0);
36 if (!info->by_key.elements)
37 return HA_ERR_END_OF_FILE;
45 queue_top(&(info->by_key))=(uchar *)(info->current_table);
46 queue_replaced(&(info->by_key));
50 mi=(info->current_table=(
MYRG_TABLE *)queue_top(&(info->by_key)))->table;
51 return _myrg_mi_read_record(mi,buf);