From 9b9546edbc095e061167588f672549103627bf98 Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 20 Nov 2002 22:56:57 +0200 Subject: 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 --- include/my_tree.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/my_tree.h') 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 -- cgit v1.2.1