diff options
author | sasha@mysql.sashanet.com <> | 2001-05-11 15:07:34 -0600 |
---|---|---|
committer | sasha@mysql.sashanet.com <> | 2001-05-11 15:07:34 -0600 |
commit | c706bf40f3723e4224844a52f632529fda3412ca (patch) | |
tree | c1011c976487f613ded4fa7db34dbff547084d18 /mysys/tree.c | |
parent | a12117f0364761f89d6fdb015ece9ada2d1ce494 (diff) | |
download | mariadb-git-c706bf40f3723e4224844a52f632529fda3412ca.tar.gz |
use tree for count(distinct) when possible
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 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; |