summaryrefslogtreecommitdiff
path: root/heap/hp_rnext.c
diff options
context:
space:
mode:
authorram@gw.udmsearch.izhnet.ru <>2002-05-23 19:26:16 +0500
committerram@gw.udmsearch.izhnet.ru <>2002-05-23 19:26:16 +0500
commit4375d827dbe3c8a24656c234bdb2db472e54982d (patch)
treec5a8cbf56ea21127e0ba4d444db78aa46cbe0925 /heap/hp_rnext.c
parentd1e13bec397f4aa737c3dff85dbb01ae526d9429 (diff)
downloadmariadb-git-4375d827dbe3c8a24656c234bdb2db472e54982d.tar.gz
Heap table code cleanup
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