summaryrefslogtreecommitdiff
path: root/myisammrg/myrg_rprev.c
diff options
context:
space:
mode:
Diffstat (limited to 'myisammrg/myrg_rprev.c')
-rw-r--r--myisammrg/myrg_rprev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/myisammrg/myrg_rprev.c b/myisammrg/myrg_rprev.c
index c21ca06dacd..797993e903d 100644
--- a/myisammrg/myrg_rprev.c
+++ b/myisammrg/myrg_rprev.c
@@ -49,5 +49,5 @@ int myrg_rprev(MYRG_INFO *info, byte *buf, int inx)
/* now, mymerge's read_prev is as simple as one queue_top */
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);
}