summaryrefslogtreecommitdiff
path: root/storage/heap/hp_scan.c
diff options
context:
space:
mode:
Diffstat (limited to 'storage/heap/hp_scan.c')
-rw-r--r--storage/heap/hp_scan.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/storage/heap/hp_scan.c b/storage/heap/hp_scan.c
index e8913e92c86..397dd8b54d4 100644
--- a/storage/heap/hp_scan.c
+++ b/storage/heap/hp_scan.c
@@ -31,6 +31,8 @@ int heap_scan_init(register HP_INFO *info)
info->current_record= (ulong) ~0L; /* No current record */
info->update=0;
info->next_block=0;
+ info->key_version= info->s->key_version;
+ info->file_version= info->s->file_version;
DBUG_RETURN(0);
}