diff options
Diffstat (limited to 'include/my_tree.h')
-rw-r--r-- | include/my_tree.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/my_tree.h b/include/my_tree.h index 99194907ef9..0e705e19bba 100644 --- a/include/my_tree.h +++ b/include/my_tree.h @@ -83,7 +83,6 @@ void *tree_search(TREE *tree, void *key, void *custom_arg); int tree_walk(TREE *tree,tree_walk_action action, void *argument, TREE_WALK visit); int tree_delete(TREE *tree, void *key, void *custom_arg); - void *tree_search_key(TREE *tree, const void *key, TREE_ELEMENT **parents, TREE_ELEMENT ***last_pos, enum ha_rkey_function flag, void *custom_arg); @@ -93,6 +92,9 @@ void *tree_search_next(TREE *tree, TREE_ELEMENT ***last_pos, int l_offs, int r_offs); ha_rows tree_record_pos(TREE *tree, const void *key, enum ha_rkey_function search_flag, void *custom_arg); + +#define TREE_ELEMENT_EXTRA_SIZE (sizeof(TREE_ELEMENT) + sizeof(void*)) + #ifdef __cplusplus } #endif |