summaryrefslogtreecommitdiff
path: root/mysys/tree.c
diff options
context:
space:
mode:
authorunknown <sasha@mysql.sashanet.com>2001-05-11 15:07:34 -0600
committerunknown <sasha@mysql.sashanet.com>2001-05-11 15:07:34 -0600
commit1d56c0324e21e0e1b92e46445a8896006cb9a8e8 (patch)
treec1011c976487f613ded4fa7db34dbff547084d18 /mysys/tree.c
parent89d6e639ae535600af4cf3eb7053aa9c4c905580 (diff)
downloadmariadb-git-1d56c0324e21e0e1b92e46445a8896006cb9a8e8.tar.gz
use tree for count(distinct) when possible
include/my_tree.h: fixed typo in comment mysys/tree.c: fixed typo in comment sql/item_sum.h: use tree for count distinct when possible
Diffstat (limited to 'mysys/tree.c')
-rw-r--r--mysys/tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/tree.c b/mysys/tree.c
index db2b3989b81..e46ff00adad 100644
--- a/mysys/tree.c
+++ b/mysys/tree.c
@@ -84,7 +84,7 @@ void init_tree(TREE *tree, uint default_alloc_size, int size,
((uint) size <= sizeof(void*) || ((uint) size & (sizeof(void*)-1))))
{
tree->offset_to_key=sizeof(TREE_ELEMENT); /* Put key after element */
- /* Fix allocation size so that we don't loose any memory */
+ /* Fix allocation size so that we don't lose any memory */
default_alloc_size/=(sizeof(TREE_ELEMENT)+size);
if (!default_alloc_size)
default_alloc_size=1;