summaryrefslogtreecommitdiff
path: root/heap/hp_rprev.c
diff options
context:
space:
mode:
authorram@gw.udmsearch.izhnet.ru <>2002-05-21 21:54:08 +0500
committerram@gw.udmsearch.izhnet.ru <>2002-05-21 21:54:08 +0500
commit3b43cb2960b2f44b78d63fe94b249ff52da9d3c4 (patch)
tree33c8cdcfd2d233bc3b663c05fd4bd9ca99b2bb5e /heap/hp_rprev.c
parentba963bb64dbb51e6070fd34a17fc52335063cf4a (diff)
downloadmariadb-git-3b43cb2960b2f44b78d63fe94b249ff52da9d3c4.tar.gz
BTREE heap key structure is now the same as MyISAM
_mi_compare_text -> mi_compate_text Changes according Monty's suggestions
Diffstat (limited to 'heap/hp_rprev.c')
-rw-r--r--heap/hp_rprev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/heap/hp_rprev.c b/heap/hp_rprev.c
index 98f7a02d55b..071746fa3de 100644
--- a/heap/hp_rprev.c
+++ b/heap/hp_rprev.c
@@ -47,7 +47,7 @@ int heap_rprev(HP_INFO *info, byte *record)
}
if (pos)
{
- memcpy(&pos, pos + keyinfo->ref_offs, sizeof(byte*));
+ memcpy(&pos, pos + hp_rb_key_length(keyinfo, pos), sizeof(byte*));
info->current_ptr = pos;
}
else