diff options
author | unknown <serg@serg.mysql.com> | 2001-07-02 21:18:57 +0200 |
---|---|---|
committer | unknown <serg@serg.mysql.com> | 2001-07-02 21:18:57 +0200 |
commit | 2d28c646cbd53c1fcdf800dc408580aa5377f3b9 (patch) | |
tree | c2f7be1c19137e631cb5b7d9a3163a215a3d14e6 /sql/sql_analyse.h | |
parent | a1bb645cb28e3e9037e62934ac370b935bd8acc1 (diff) | |
download | mariadb-git-2d28c646cbd53c1fcdf800dc408580aa5377f3b9.tar.gz |
memory-limited tree
bulk inserts optimization: caching keys in binary tree
include/my_base.h:
bulk inserts optimization: caching keys in binary tree
include/my_tree.h:
memory-limited tree
include/myisam.h:
bulk inserts optimization: caching keys in binary tree
isam/isamlog.c:
memory-limited tree
isam/pack_isam.c:
memory-limited tree
myisam/ft_boolean_search.c:
memory-limited tree
myisam/ft_nlq_search.c:
memory-limited tree
myisam/ft_parser.c:
memory-limited tree
myisam/ft_stopwords.c:
memory-limited tree
myisam/mi_extra.c:
bulk inserts optimization: caching keys in binary tree
myisam/mi_open.c:
bulk inserts optimization: caching keys in binary tree
myisam/mi_static.c:
bulk inserts optimization: caching keys in binary tree
myisam/mi_write.c:
bulk inserts optimization: caching keys in binary tree
myisam/myisamdef.h:
bulk inserts optimization: caching keys in binary tree
myisam/myisamlog.c:
memory-limited tree
myisam/myisampack.c:
memory-limited tree
mysql-test/mysql-test-run.sh:
memory-limited tree
mysql-test/t/alter_table.test:
make it faster
mysys/tree.c:
memory-limited tree
sql/ha_myisam.cc:
bulk inserts optimization: caching keys in binary tree
sql/item_sum.cc:
memory-limited tree
sql/mysqld.cc:
bulk inserts optimization: caching keys in binary tree
sql/sql_analyse.h:
memory-limited tree
sql/uniques.cc:
memory-limited tree
Diffstat (limited to 'sql/sql_analyse.h')
-rw-r--r-- | sql/sql_analyse.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sql/sql_analyse.h b/sql/sql_analyse.h index 1d26b34dad9..2147f14e160 100644 --- a/sql/sql_analyse.h +++ b/sql/sql_analyse.h @@ -114,9 +114,9 @@ public: max_arg(""), sum(0), must_be_blob(0), was_zero_fill(0), was_maybe_zerofill(0), can_be_still_num(1) - { init_tree(&tree, 0, sizeof(String), a->binary ? + { init_tree(&tree, 0, 0, sizeof(String), a->binary ? (qsort_cmp2) stringcmp2 : (qsort_cmp2) sortcmp2, - 0, (void (*)(void*)) free_string); }; + 0, (tree_element_free) free_string, NULL); }; void add(); void get_opt_type(String*, ha_rows); @@ -154,8 +154,8 @@ class field_real: public field_info public: field_real(Item* a, analyse* b) :field_info(a,b), min_arg(0), max_arg(0), sum(0), sum_sqr(0), max_notzero_dec_len(0) - { init_tree(&tree, 0, sizeof(double), - (qsort_cmp2) compare_double2, 0, NULL); } + { init_tree(&tree, 0, 0, sizeof(double), + (qsort_cmp2) compare_double2, 0, NULL, NULL); } void add(); void get_opt_type(String*, ha_rows); @@ -200,8 +200,8 @@ class field_longlong: public field_info public: field_longlong(Item* a, analyse* b) :field_info(a,b), min_arg(0), max_arg(0), sum(0), sum_sqr(0) - { init_tree(&tree, 0, sizeof(longlong), - (qsort_cmp2) compare_longlong2, 0, NULL); } + { init_tree(&tree, 0, 0, sizeof(longlong), + (qsort_cmp2) compare_longlong2, 0, NULL, NULL); } void add(); void get_opt_type(String*, ha_rows); @@ -245,8 +245,8 @@ class field_ulonglong: public field_info public: field_ulonglong(Item* a, analyse * b) :field_info(a,b), min_arg(0), max_arg(0), sum(0),sum_sqr(0) - { init_tree(&tree, 0, sizeof(ulonglong), - (qsort_cmp2) compare_ulonglong2, 0, NULL); } + { init_tree(&tree, 0, 0, sizeof(ulonglong), + (qsort_cmp2) compare_ulonglong2, 0, NULL, NULL); } void add(); void get_opt_type(String*, ha_rows); String *get_min_arg(String *s) { s->set(min_arg); return s; } |