summaryrefslogtreecommitdiff
path: root/heap/hp_rfirst.c
diff options
context:
space:
mode:
authorram@gw.udmsearch.izhnet.ru <>2002-04-29 13:53:29 +0500
committerram@gw.udmsearch.izhnet.ru <>2002-04-29 13:53:29 +0500
commit06ed215c37c436cf295ae7b91aa4872a50a9642c (patch)
tree77b9ea9e8c3560b6e82eaad873f24e15f519602d /heap/hp_rfirst.c
parentb8a12a8cecf2d277e724827ead7b93a129123362 (diff)
downloadmariadb-git-06ed215c37c436cf295ae7b91aa4872a50a9642c.tar.gz
Index number argument
Fix in test results
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)