Commit f2528c71 authored by unknown's avatar unknown

mising reset_tree() in ft_reinit_search() added

parent a07fe62f
......@@ -242,10 +242,10 @@ static void _ftb_init_index_search(FT_INFO *ftb)
else /* 3 */
{
if (!is_tree_inited(& ftb->no_dupes))
{
init_tree(& ftb->no_dupes,0,0,sizeof(my_off_t),
_ftb_no_dupes_cmp,0,0,0);
}
else
reset_tree(& ftb->no_dupes);
}
}
r=_mi_search(info, keyinfo, (uchar*) ftbw->word, ftbw->len,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment