summaryrefslogtreecommitdiff
path: root/myisammrg/myrg_rfirst.c
diff options
context:
space:
mode:
Diffstat (limited to 'myisammrg/myrg_rfirst.c')
-rw-r--r--myisammrg/myrg_rfirst.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/myisammrg/myrg_rfirst.c b/myisammrg/myrg_rfirst.c
index 2ee9c015a84..9ba07686c47 100644
--- a/myisammrg/myrg_rfirst.c
+++ b/myisammrg/myrg_rfirst.c
@@ -45,5 +45,5 @@ int myrg_rfirst(MYRG_INFO *info, byte *buf, int inx)
return HA_ERR_END_OF_FILE;
mi=(info->current_table=(MYRG_TABLE *)queue_top(&(info->by_key)))->table;
- return mi_rrnd(mi,buf,mi->lastpos);
+ return _myrg_mi_read_record(mi,buf);
}