summaryrefslogtreecommitdiff
path: root/heap
diff options
context:
space:
mode:
authorram@ram.(none) <>2002-07-12 13:12:32 +0500
committerram@ram.(none) <>2002-07-12 13:12:32 +0500
commit17204b1c88923061ff6ce8021acefa678f3aff34 (patch)
tree1494682bd3fbc074a518bfab20e1ccef8be8c85f /heap
parent5d62bde73877400b87a22f84dec4cca3515f87d3 (diff)
downloadmariadb-git-17204b1c88923061ff6ce8021acefa678f3aff34.tar.gz
Stupid bug has been fixed
Diffstat (limited to 'heap')
-rw-r--r--heap/hp_rfirst.c1
-rw-r--r--heap/hp_rlast.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/heap/hp_rfirst.c b/heap/hp_rfirst.c
index 39b0d4385f2..1668376ed1c 100644
--- a/heap/hp_rfirst.c
+++ b/heap/hp_rfirst.c
@@ -24,6 +24,7 @@ int heap_rfirst(HP_INFO *info, byte *record, int inx)
HP_KEYDEF *keyinfo = share->keydef + inx;
DBUG_ENTER("heap_rfirst");
+ info->lastinx= inx;
if (keyinfo->algorithm == HA_KEY_ALG_BTREE)
{
byte *pos;
diff --git a/heap/hp_rlast.c b/heap/hp_rlast.c
index e51a0e8a8f1..b1a49739108 100644
--- a/heap/hp_rlast.c
+++ b/heap/hp_rlast.c
@@ -25,6 +25,7 @@ int heap_rlast(HP_INFO *info, byte *record, int inx)
HP_KEYDEF *keyinfo= share->keydef + inx;
DBUG_ENTER("heap_rlast");
+ info->lastinx= inx;
if (keyinfo->algorithm == HA_KEY_ALG_BTREE)
{
byte *pos;