71
71
extern HP_SHARE *hp_find_named_heap(const char *name);
72
72
extern int hp_rectest(HP_INFO *info,const uchar *old);
73
extern uchar *hp_find_block(HP_BLOCK *info,ulong pos);
73
extern uchar *hp_find_block(HP_BLOCK *info,uint32_t pos);
74
74
extern int hp_get_new_block(HP_BLOCK *info, size_t* alloc_length);
75
75
extern void hp_free(HP_SHARE *info);
76
76
extern uchar *hp_free_level(HP_BLOCK *block,uint level,HP_PTRS *pos,
83
83
const uchar *record,uchar *recpos,int flag);
84
84
extern int hp_delete_key(HP_INFO *info,HP_KEYDEF *keyinfo,
85
85
const uchar *record,uchar *recpos,int flag);
86
extern HASH_INFO *_heap_find_hash(HP_BLOCK *block,ulong pos);
86
extern HASH_INFO *_heap_find_hash(HP_BLOCK *block,uint32_t pos);
87
87
extern uchar *hp_search(HP_INFO *info,HP_KEYDEF *keyinfo,const uchar *key,
89
89
extern uchar *hp_search_next(HP_INFO *info, HP_KEYDEF *keyinfo,
90
90
const uchar *key, HASH_INFO *pos);
91
extern ulong hp_hashnr(HP_KEYDEF *keyinfo,const uchar *key);
92
extern ulong hp_rec_hashnr(HP_KEYDEF *keyinfo,const uchar *rec);
93
extern ulong hp_mask(ulong hashnr,ulong buffmax,ulong maxlength);
91
extern uint32_t hp_hashnr(HP_KEYDEF *keyinfo,const uchar *key);
92
extern uint32_t hp_rec_hashnr(HP_KEYDEF *keyinfo,const uchar *rec);
93
extern uint32_t hp_mask(uint32_t hashnr,uint32_t buffmax,uint32_t maxlength);
94
94
extern void hp_movelink(HASH_INFO *pos,HASH_INFO *next_link,
95
95
HASH_INFO *newlink);
96
96
extern int hp_rec_key_cmp(HP_KEYDEF *keydef,const uchar *rec1,