diff options
author | Sergei Golubchik <serg@mariadb.org> | 2019-04-20 12:13:42 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2019-04-24 16:06:54 +0200 |
commit | d3b2228fd8b9ba13f8adedfee144d222b32b1cec (patch) | |
tree | 28b915212d9b556d53e4eeca6d44f03629606185 /mysys/tree.c | |
parent | 6cc19078ba7f2db521d44a3b8b9f0d5ea135625c (diff) | |
download | mariadb-git-d3b2228fd8b9ba13f8adedfee144d222b32b1cec.tar.gz |
cleanup: cosmetic fixes
Diffstat (limited to 'mysys/tree.c')
-rw-r--r-- | mysys/tree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/tree.c b/mysys/tree.c index 9e69ed9a4db..83be0a0d20f 100644 --- a/mysys/tree.c +++ b/mysys/tree.c @@ -224,7 +224,7 @@ TREE_ELEMENT *tree_insert(TREE *tree, void *key, uint key_size, { uint alloc_size; if (tree->flag & TREE_ONLY_DUPS) - return((TREE_ELEMENT *) 1); + return TREE_ELEMENT_UNIQUE; alloc_size=sizeof(TREE_ELEMENT)+key_size+tree->size_of_element; tree->allocated+=alloc_size; |