summaryrefslogtreecommitdiff
path: root/heap/hp_rnext.c
diff options
context:
space:
mode:
Diffstat (limited to 'heap/hp_rnext.c')
-rw-r--r--heap/hp_rnext.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/heap/hp_rnext.c b/heap/hp_rnext.c
index c01ca52d5ae..a1bc480333e 100644
--- a/heap/hp_rnext.c
+++ b/heap/hp_rnext.c
@@ -47,7 +47,8 @@ int heap_rnext(HP_INFO *info, byte *record)
}
if (pos)
{
- memcpy(&pos, pos + hp_rb_key_length(keyinfo, pos), sizeof(byte*));
+ memcpy(&pos, pos + (*keyinfo->get_key_length)(keyinfo, pos),
+ sizeof(byte*));
info->current_ptr = pos;
}
else