1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

memory-limited tree

bulk inserts optimization: caching keys in binary tree
This commit is contained in:
serg@serg.mysql.com
2001-07-02 21:18:57 +02:00
parent 3c7cc2285c
commit 15b6738474
24 changed files with 262 additions and 97 deletions

View File

@ -226,7 +226,7 @@ TREE * ft_parse(TREE *wtree, byte *doc, int doclen)
if (!is_tree_inited(wtree))
{
init_tree(wtree,0,sizeof(FT_WORD),(qsort_cmp2)&FT_WORD_cmp,0,NULL);
init_tree(wtree,0,0,sizeof(FT_WORD),(qsort_cmp2)&FT_WORD_cmp,0,NULL, NULL);
}
while (ft_simple_get_word(&doc,end,&w))