summaryrefslogtreecommitdiff
path: root/heap/hp_rfirst.c
diff options
context:
space:
mode:
authorunknown <ram@gw.udmsearch.izhnet.ru>2002-04-29 13:53:29 +0500
committerunknown <ram@gw.udmsearch.izhnet.ru>2002-04-29 13:53:29 +0500
commit234dc3a35e8ae7f63aa6d3b7891b72e735728639 (patch)
tree77b9ea9e8c3560b6e82eaad873f24e15f519602d /heap/hp_rfirst.c
parent3adee5046d70aa91fead16c289dd2a1b098b3dfd (diff)
downloadmariadb-git-234dc3a35e8ae7f63aa6d3b7891b72e735728639.tar.gz
Index number argument
Fix in test results heap/hp_rfirst.c: Index number argument heap/hp_rlast.c: Index number argument heap/hp_test2.c: Index number argument include/heap.h: Index number argument mysql-test/r/heap_btree.result: Test results fix sql/ha_heap.cc: Index number argument
Diffstat (limited to 'heap/hp_rfirst.c')
-rw-r--r--heap/hp_rfirst.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/heap/hp_rfirst.c b/heap/hp_rfirst.c
index 4b7098745a4..390d18fc58f 100644
--- a/heap/hp_rfirst.c
+++ b/heap/hp_rfirst.c
@@ -18,10 +18,10 @@
/* Read first record with the current key */
-int heap_rfirst(HP_INFO *info, byte *record)
+int heap_rfirst(HP_INFO *info, byte *record, int inx)
{
HP_SHARE *share = info->s;
- HP_KEYDEF *keyinfo = share->keydef + info->lastinx;
+ HP_KEYDEF *keyinfo = share->keydef + inx;
DBUG_ENTER("heap_rfirst");
if (keyinfo->algorithm == HA_KEY_ALG_BTREE)