summaryrefslogtreecommitdiff
path: root/mysys/tree.c
diff options
context:
space:
mode:
authorunknown <monty@hundin.mysql.fi>2001-06-03 12:26:24 +0300
committerunknown <monty@hundin.mysql.fi>2001-06-03 12:26:24 +0300
commitcf42a95562695b0596bdbbcc941e86f7eab6682c (patch)
treea8649f73d8dc4f4b298871c75089fd3e584adb6e /mysys/tree.c
parent1b4d4338d4b6697cb9958d4bc4903a395724b0e0 (diff)
downloadmariadb-git-cf42a95562695b0596bdbbcc941e86f7eab6682c.tar.gz
Added ABS() to make tests more portable.
New postgresql crash-me file. Increased blob size in benchmarks from 65K to 1M. mysql-test/t/select.test: Added ABS() to make tests more portable mysys/tree.c: Added missing call to tree->free (MySQL didn't use this) sql-bench/Comments/postgres.benchmark: Updated documentation sql-bench/bench-init.pl.sh: Updated version number (changed blob size) sql-bench/limits/pg.cfg: New postgres results sql-bench/server-cfg.sh: Updated to PostgreSQL 7.1.1 sql-bench/test-connect.sh: Changed select_big -> select_big_str tests/fork_big.pl: Added count(distinct) test
Diffstat (limited to 'mysys/tree.c')
-rw-r--r--mysys/tree.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mysys/tree.c b/mysys/tree.c
index a36fd06f3f1..002062d9f0e 100644
--- a/mysys/tree.c
+++ b/mysys/tree.c
@@ -251,6 +251,8 @@ int tree_delete(TREE *tree, void *key)
}
if (remove_colour == BLACK)
rb_delete_fixup(tree,parent);
+ if (tree->free)
+ (*tree->free)(ELEMENT_KEY(tree,element));
my_free((gptr) element,MYF(0));
tree->elements_in_tree--;
return 0;