1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-07 00:04:31 +03:00

cleanup: cosmetic fixes

This commit is contained in:
Sergei Golubchik
2019-04-20 12:13:42 +02:00
parent 6cc19078ba
commit d3b2228fd8
5 changed files with 6 additions and 9 deletions

View File

@@ -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;