summaryrefslogtreecommitdiff
path: root/include/my_tree.h
diff options
context:
space:
mode:
authorunknown <monty@mashka.mysql.fi>2002-11-20 22:56:57 +0200
committerunknown <monty@mashka.mysql.fi>2002-11-20 22:56:57 +0200
commit9b9546edbc095e061167588f672549103627bf98 (patch)
tree1deb846a75b9e1e5c1491e20df66b4d74fc6fa0b /include/my_tree.h
parent33d678fcdc2d0b431c0f08e11e0b6715cd37cda0 (diff)
downloadmariadb-git-9b9546edbc095e061167588f672549103627bf98.tar.gz
Try to optimize the cache buffer size needed for bulk_insert
Fix for shutdown on Mac OS X include/my_tree.h: Try to optimize the cache buffer size needed for bulk_insert myisam/mi_write.c: Try to optimize the cache buffer size needed for bulk_insert mysql-test/r/bdb.result: Make test repeatable mysql-test/t/bdb.test: Make test repeatable mysys/tree.c: Try to optimize the cache buffer size needed for bulk_insert sql/mysql_priv.h: Small optimization sql/mysqld.cc: Fix for shutdown on Mac OS X sql/sql_insert.cc: Try to optimize the cache buffer size needed for bulk_insert sql/sql_yacc.yy: Call thd->strmake() instead of sql_strmake() sql/table.cc: Try to optimize the cache buffer size needed for bulk_insert sql/table.h: Try to optimize the cache buffer size needed for bulk_insert
Diffstat (limited to 'include/my_tree.h')
-rw-r--r--include/my_tree.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/my_tree.h b/include/my_tree.h
index 8b326a19518..7cc7c615ba6 100644
--- a/include/my_tree.h
+++ b/include/my_tree.h
@@ -76,6 +76,8 @@ int tree_walk(TREE *tree,tree_walk_action action,
void *argument, TREE_WALK visit);
int tree_delete(TREE *tree,void *key);
+#define TREE_ELEMENT_EXTRA_SIZE (sizeof(TREE_ELEMENT) + sizeof(void*))
+
#ifdef __cplusplus
}
#endif