diff options
Diffstat (limited to 'mysys/tree.c')
-rw-r--r-- | mysys/tree.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mysys/tree.c b/mysys/tree.c index b8c951df4cf..fe2d3f45d57 100644 --- a/mysys/tree.c +++ b/mysys/tree.c @@ -129,8 +129,7 @@ void init_tree(TREE *tree, size_t default_alloc_size, size_t memory_limit, } if (!(tree->with_delete= test(my_flags & MY_TREE_WITH_DELETE))) { - init_alloc_root(&tree->mem_root, default_alloc_size, 0, - my_flags); + init_alloc_root(&tree->mem_root, default_alloc_size, 0, MYF(my_flags)); tree->mem_root.min_malloc= sizeof(TREE_ELEMENT)+tree->size_of_element; } DBUG_VOID_RETURN; |