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

into serg.mylan:/usr/home/serg/Abk/mysql-4.0
This commit is contained in:
serg@serg.mylan 2003-05-03 14:51:27 +02:00
commit b82f9ee8f7

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,