diff options
author | unknown <monty@narttu.mysql.fi> | 2006-11-30 22:38:12 +0200 |
---|---|---|
committer | unknown <monty@narttu.mysql.fi> | 2006-11-30 22:38:12 +0200 |
commit | 600336ef45024e4841f46784b2cf9de5ffdf3828 (patch) | |
tree | ed9e2b22ed77e3ea701164ea1905e9d4c8da0cf5 /include/my_tree.h | |
parent | 9e5ec3539e2c99924c132730297d1e9db47f5959 (diff) | |
parent | 25226de9ea52d06667c2c7fbd99f5cd014764241 (diff) | |
download | mariadb-git-600336ef45024e4841f46784b2cf9de5ffdf3828.tar.gz |
Merge mysql.com:/home/my/mysql-5.0
into mysql.com:/home/my/mysql-5.1
client/mysql.cc:
Auto merged
cmd-line-utils/readline/bind.c:
Auto merged
cmd-line-utils/readline/histfile.c:
Auto merged
extra/yassl/taocrypt/include/algebra.hpp:
Auto merged
include/my_global.h:
Auto merged
include/my_tree.h:
Auto merged
mysys/my_thr_init.c:
Auto merged
server-tools/instance-manager/guardian.cc:
Auto merged
server-tools/instance-manager/portability.h:
Auto merged
sql/field.cc:
Auto merged
sql/gen_lex_hash.cc:
Auto merged
sql/item.cc:
Auto merged
sql/item_func.cc:
Auto merged
sql/mysql_priv.h:
Auto merged
sql/mysqld.cc:
Auto merged
sql/set_var.cc:
Auto merged
sql/slave.cc:
Auto merged
sql/sp_cache.cc:
Auto merged
sql/sp_head.cc:
Auto merged
sql/sql_acl.cc:
Auto merged
sql-common/client.c:
Auto merged
sql-common/my_time.c:
Auto merged
sql/sql_delete.cc:
Auto merged
sql/sql_handler.cc:
Auto merged
sql/sql_lex.h:
Auto merged
sql/sql_prepare.cc:
Auto merged
sql/sql_view.cc:
Auto merged
sql/sql_yacc.yy:
Auto merged
storage/heap/hp_clear.c:
Auto merged
storage/heap/hp_write.c:
Auto merged
storage/innobase/handler/ha_innodb.cc:
Auto merged
storage/innobase/os/os0file.c:
Auto merged
strings/ctype-simple.c:
Auto merged
client/mysqldump.c:
Manual merge
client/mysqltest.c:
Manual merge
extra/replace.c:
Manual merge
libmysql/libmysql.c:
Manual merge
mysys/base64.c:
Manual merge
sql/ha_ndbcluster.cc:
Manual merge
sql/handler.cc:
Manual merge
sql/item_strfunc.cc:
Manual merge
sql/item_timefunc.cc:
Manual merge
sql/log.cc:
Manual merge
sql/opt_range.cc:
Manual merge
sql/password.c:
Manual merge
sql/sp.cc:
Manual merge
sql/sql_base.cc:
Manual merge
sql/sql_cache.cc:
Manual merge
sql/sql_db.cc:
Manual merge
sql/sql_rename.cc:
Manual merge
sql/sql_select.cc:
Manual merge
sql/sql_show.cc:
Manual merge
sql/sql_trigger.cc:
Manual merge
sql/sql_update.cc:
Manual merge
sql/tztime.cc:
Manual merge
storage/archive/ha_archive.cc:
Manual merge
storage/federated/ha_federated.cc:
Manual merge
storage/myisam/mi_create.c:
Manual merge
storage/myisam/myisampack.c:
Manual merge
storage/myisammrg/myrg_rkey.c:
Manual merge
storage/ndb/src/mgmapi/mgmapi.cpp:
Manual merge
storage/ndb/src/ndbapi/Ndb.cpp:
Manual merge
storage/ndb/src/ndbapi/NdbScanOperation.cpp:
Manual merge
storage/ndb/src/ndbapi/NdbTransaction.cpp:
Manual merge
storage/ndb/src/ndbapi/Ndblist.cpp:
Manual merge
Diffstat (limited to 'include/my_tree.h')
-rw-r--r-- | include/my_tree.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/my_tree.h b/include/my_tree.h index e9746ca1b2c..68a2ea777c0 100644 --- a/include/my_tree.h +++ b/include/my_tree.h @@ -51,7 +51,8 @@ typedef struct st_tree_element { typedef struct st_tree { TREE_ELEMENT *root,null_element; TREE_ELEMENT **parents[MAX_TREE_HEIGHT]; - uint offset_to_key,elements_in_tree,size_of_element,memory_limit,allocated; + uint offset_to_key,elements_in_tree,size_of_element; + ulong memory_limit, allocated; qsort_cmp2 compare; void *custom_arg; MEM_ROOT mem_root; @@ -61,7 +62,7 @@ typedef struct st_tree { } TREE; /* Functions on whole tree */ -void init_tree(TREE *tree, uint default_alloc_size, uint memory_limit, +void init_tree(TREE *tree, ulong default_alloc_size, ulong memory_limit, int size, qsort_cmp2 compare, my_bool with_delete, tree_element_free free_element, void *custom_arg); void delete_tree(TREE*); |