Commit 29d8ad32 authored by unknown's avatar unknown

Merge bk-internal:/home/bk/mysql-4.0/

into serg.mylan:/usr/home/serg/Abk/mysql-4.0

parents 8d8f52e9 6d454dc6
...@@ -242,10 +242,10 @@ static void _ftb_init_index_search(FT_INFO *ftb) ...@@ -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,
......
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