47
47
/* A search iterator state */
50
50
#define hash_init(A,B,C,D,E,F,G,H) _hash_init(A,0,B,C,D,E,F,G,H CALLER_INFO)
51
51
#define hash_init2(A,B,C,D,E,F,G,H,I) _hash_init(A,B,C,D,E,F,G,H,I CALLER_INFO)
52
bool _hash_init(HASH *hash, uint growth_size, const CHARSET_INFO * const charset,
52
bool _hash_init(HASH *hash, uint32_t growth_size, const CHARSET_INFO * const charset,
53
53
uint32_t default_array_elements, size_t key_offset,
54
54
size_t key_length, hash_get_key get_key,
56
56
void hash_free(HASH *tree);
57
57
void my_hash_reset(HASH *hash);
58
58
unsigned char *hash_element(HASH *hash,uint32_t idx);