summaryrefslogtreecommitdiff
path: root/myisammrg/myrg_rfirst.c
diff options
context:
space:
mode:
authorunknown <serg@serg.mylan>2003-08-01 14:58:03 +0200
committerunknown <serg@serg.mylan>2003-08-01 14:58:03 +0200
commit77e16415dc60baf120d98650ba058718a08494c0 (patch)
tree084aedc15d6802ef5dfab15684339f439381f74d /myisammrg/myrg_rfirst.c
parent687ebba461075af77544c3bf1d268148fc3b2c90 (diff)
downloadmariadb-git-77e16415dc60baf120d98650ba058718a08494c0.tar.gz
replace mi_rrnd() in myrg_rkey family to more intelligent (HA_KEYREAD-aware) read function
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);
}