Loading myisam/ft_boolean_search.c +4 −2 Original line number Diff line number Diff line Loading @@ -322,7 +322,8 @@ void _ftb_climb_the_tree(FTB *ftb, FTB_WORD *ftbw, FT_SEG_ITERATOR *ftsi_orig) break; if (yn & FTB_FLAG_YES) { ftbe->cur_weight += weight / ftbe->ythresh; weight /= ftbe->ythresh; ftbe->cur_weight += weight; if (++ftbe->yesses == ythresh) { yn=ftbe->flags; Loading Loading @@ -360,7 +361,8 @@ void _ftb_climb_the_tree(FTB *ftb, FTB_WORD *ftbw, FT_SEG_ITERATOR *ftsi_orig) } else { ftbe->cur_weight += ftbe->ythresh ? weight/3 : weight; if (ftbe->ythresh) weight/=3; ftbe->cur_weight += weight; if (ftbe->yesses < ythresh) break; yn= (ftbe->yesses++ == ythresh) ? ftbe->flags : 0 ; Loading Loading
myisam/ft_boolean_search.c +4 −2 Original line number Diff line number Diff line Loading @@ -322,7 +322,8 @@ void _ftb_climb_the_tree(FTB *ftb, FTB_WORD *ftbw, FT_SEG_ITERATOR *ftsi_orig) break; if (yn & FTB_FLAG_YES) { ftbe->cur_weight += weight / ftbe->ythresh; weight /= ftbe->ythresh; ftbe->cur_weight += weight; if (++ftbe->yesses == ythresh) { yn=ftbe->flags; Loading Loading @@ -360,7 +361,8 @@ void _ftb_climb_the_tree(FTB *ftb, FTB_WORD *ftbw, FT_SEG_ITERATOR *ftsi_orig) } else { ftbe->cur_weight += ftbe->ythresh ? weight/3 : weight; if (ftbe->ythresh) weight/=3; ftbe->cur_weight += weight; if (ftbe->yesses < ythresh) break; yn= (ftbe->yesses++ == ythresh) ? ftbe->flags : 0 ; Loading