diff options
author | serg@serg.mysql.com <> | 2001-07-02 21:18:57 +0200 |
---|---|---|
committer | serg@serg.mysql.com <> | 2001-07-02 21:18:57 +0200 |
commit | 15b6738474fd9df56c4aff8f984278cd374bd3f3 (patch) | |
tree | c2f7be1c19137e631cb5b7d9a3163a215a3d14e6 /isam/pack_isam.c | |
parent | 3c7cc2285c6a80cd998faa5d669d7d9d0d20b632 (diff) | |
download | mariadb-git-15b6738474fd9df56c4aff8f984278cd374bd3f3.tar.gz |
memory-limited tree
bulk inserts optimization: caching keys in binary tree
Diffstat (limited to 'isam/pack_isam.c')
-rw-r--r-- | isam/pack_isam.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/isam/pack_isam.c b/isam/pack_isam.c index c2cbb72cf74..b8814527af2 100644 --- a/isam/pack_isam.c +++ b/isam/pack_isam.c @@ -684,7 +684,7 @@ static HUFF_COUNTS *init_huff_count(N_INFO *info,my_off_t records) (type == FIELD_NORMAL || type == FIELD_SKIPP_ZERO)) count[i].max_zero_fill= count[i].field_length; - init_tree(&count[i].int_tree,0,-1,(qsort_cmp) compare_tree,0,NULL); + init_tree(&count[i].int_tree,0,0,-1,(qsort_cmp2) compare_tree,0,NULL,NULL); if (records) count[i].tree_pos=count[i].tree_buff = my_malloc(count[i].field_length > 1 ? tree_buff_length : 2, |