diff options
Diffstat (limited to 'myisam/ft_boolean_search.c')
-rw-r--r-- | myisam/ft_boolean_search.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/myisam/ft_boolean_search.c b/myisam/ft_boolean_search.c index 3562e05006a..ef248b5d62b 100644 --- a/myisam/ft_boolean_search.c +++ b/myisam/ft_boolean_search.c @@ -153,7 +153,9 @@ int do_boolean(ALL_IN_ONE *aio, uint nested __attribute__((unused)), if (selem->count==1) /* document's first match */ { - sptr->yes=sptr->no=sptr->doc.weight=0; + sptr->yes=0; + sptr->no=0; + sptr->doc.weight=0; sptr->aio=aio; sptr->wno=0; } |