mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
ft_boolean_search.c:
bug#6705 - (+trunc1* +trunc2*) fulltext.test, fulltext.result: bug#6705
This commit is contained in:
@ -247,7 +247,7 @@ static void _ftb_init_index_search(FT_INFO *ftb)
|
||||
FTB_EXPR *top_ftbe=ftbe->up->up;
|
||||
ftbw->docid[0]=HA_OFFSET_ERROR;
|
||||
for (ftbe=ftbw->up; ftbe != top_ftbe; ftbe=ftbe->up)
|
||||
if (ftbe->flags & FTB_FLAG_YES)
|
||||
if (!(ftbe->flags & FTB_FLAG_NO))
|
||||
ftbe->yweaks++;
|
||||
ftbe=0;
|
||||
break;
|
||||
@ -255,7 +255,7 @@ static void _ftb_init_index_search(FT_INFO *ftb)
|
||||
}
|
||||
if (!ftbe)
|
||||
continue;
|
||||
/* 3 */
|
||||
/* 4 */
|
||||
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);
|
||||
|
Reference in New Issue
Block a user