24 if (!info->current_table)
25 return (HA_ERR_KEY_NOT_FOUND);
28 if ((err=mi_rnext_same(info->current_table->table,NULL)))
30 if (err == HA_ERR_END_OF_FILE)
32 queue_remove(&(info->by_key),0);
33 if (!info->by_key.elements)
34 return HA_ERR_END_OF_FILE;
42 queue_top(&(info->by_key))=(uchar *)(info->current_table);
43 queue_replaced(&(info->by_key));
47 mi=(info->current_table=(
MYRG_TABLE *)queue_top(&(info->by_key)))->table;
48 return _myrg_mi_read_record(mi,buf);