75
75
static void rb_delete_fixup(TREE *tree,TREE_ELEMENT ***parent);
84
78
void init_tree(TREE *tree, ulong default_alloc_size, ulong memory_limit,
85
79
int size, qsort_cmp2 compare, bool with_delete,
86
80
tree_element_free free_element, void *custom_arg)
89
DBUG_PRINT("enter",("tree: 0x%lx size: %d", (long) tree, size));
91
82
if (default_alloc_size < DEFAULT_ALLOC_SIZE)
92
83
default_alloc_size= DEFAULT_ALLOC_SIZE;
93
84
default_alloc_size= MY_ALIGN(default_alloc_size, DEFAULT_ALIGN_SIZE);