summaryrefslogtreecommitdiff
path: root/heap
diff options
context:
space:
mode:
authorunknown <ram@ram.(none)>2002-07-12 13:12:32 +0500
committerunknown <ram@ram.(none)>2002-07-12 13:12:32 +0500
commitd4e5d2dd3672ed0e9f8b968fb38b2972e03d155b (patch)
tree1494682bd3fbc074a518bfab20e1ccef8be8c85f /heap
parent7e13b5fc68ac2cedf668db20c4de6cfcec2706c4 (diff)
downloadmariadb-git-d4e5d2dd3672ed0e9f8b968fb38b2972e03d155b.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;