summaryrefslogtreecommitdiff
path: root/heap/hp_rlast.c
diff options
context:
space:
mode:
Diffstat (limited to 'heap/hp_rlast.c')
-rw-r--r--heap/hp_rlast.c1
1 files changed, 1 insertions, 0 deletions
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;