diff options
author | unknown <ram@gw.udmsearch.izhnet.ru> | 2002-05-23 19:26:16 +0500 |
---|---|---|
committer | unknown <ram@gw.udmsearch.izhnet.ru> | 2002-05-23 19:26:16 +0500 |
commit | c1f3be5bb5f70e5d0376f258b79ccffa5b2d9c2b (patch) | |
tree | c5a8cbf56ea21127e0ba4d444db78aa46cbe0925 /heap/hp_rnext.c | |
parent | e494b724d0b3100d325a6dd9f59c004b3bb71c1c (diff) | |
download | mariadb-git-c1f3be5bb5f70e5d0376f258b79ccffa5b2d9c2b.tar.gz |
Heap table code cleanup
Diffstat (limited to 'heap/hp_rnext.c')
-rw-r--r-- | heap/hp_rnext.c | 3 |
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 |