diff options
author | ram@gw.udmsearch.izhnet.ru <> | 2002-05-21 21:54:08 +0500 |
---|---|---|
committer | ram@gw.udmsearch.izhnet.ru <> | 2002-05-21 21:54:08 +0500 |
commit | 3b43cb2960b2f44b78d63fe94b249ff52da9d3c4 (patch) | |
tree | 33c8cdcfd2d233bc3b663c05fd4bd9ca99b2bb5e /heap/heapdef.h | |
parent | ba963bb64dbb51e6070fd34a17fc52335063cf4a (diff) | |
download | mariadb-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/heapdef.h')
-rw-r--r-- | heap/heapdef.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/heap/heapdef.h b/heap/heapdef.h index aeb345522f5..0308f7dd62c 100644 --- a/heap/heapdef.h +++ b/heap/heapdef.h @@ -79,8 +79,9 @@ extern int hp_rec_key_cmp(HP_KEYDEF *keydef,const byte *rec1, extern int hp_key_cmp(HP_KEYDEF *keydef,const byte *rec, const byte *key); extern void hp_make_key(HP_KEYDEF *keydef,byte *key,const byte *rec); -extern void hp_rb_make_key(HP_KEYDEF *keydef, byte *key, +extern uint hp_rb_make_key(HP_KEYDEF *keydef, byte *key, const byte *rec, byte *recpos); +extern uint hp_rb_key_length(HP_KEYDEF *keydef, const byte *key); extern my_bool hp_if_null_in_key(HP_KEYDEF *keyinfo, const byte *record); extern int hp_close(register HP_INFO *info); extern void hp_clear(HP_SHARE *info); |