mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
mising reset_tree() in ft_reinit_search() added
This commit is contained in:
parent
870397892b
commit
6d454dc6e4
1 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue