From d4e5d2dd3672ed0e9f8b968fb38b2972e03d155b Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 12 Jul 2002 13:12:32 +0500 Subject: Stupid bug has been fixed --- heap/hp_rfirst.c | 1 + heap/hp_rlast.c | 1 + 2 files changed, 2 insertions(+) (limited to 'heap') 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; -- cgit v1.2.1