mising reset_tree() in ft_reinit_search() added

This commit is contained in:
unknown 2003-05-03 14:48:51 +02:00
parent 870397892b
commit 6d454dc6e4

View file

@ -242,10 +242,10 @@ static void _ftb_init_index_search(FT_INFO *ftb)
else /* 3 */ else /* 3 */
{ {
if (!is_tree_inited(& ftb->no_dupes)) if (!is_tree_inited(& ftb->no_dupes))
{
init_tree(& ftb->no_dupes,0,0,sizeof(my_off_t), init_tree(& ftb->no_dupes,0,0,sizeof(my_off_t),
_ftb_no_dupes_cmp,0,0,0); _ftb_no_dupes_cmp,0,0,0);
} else
reset_tree(& ftb->no_dupes);
} }
} }
r=_mi_search(info, keyinfo, (uchar*) ftbw->word, ftbw->len, r=_mi_search(info, keyinfo, (uchar*) ftbw->word, ftbw->len,