diff options
author | unknown <serg@sergbook.mysql.com> | 2002-06-28 15:19:43 +0200 |
---|---|---|
committer | unknown <serg@sergbook.mysql.com> | 2002-06-28 15:19:43 +0200 |
commit | 3cdf62664c3c1673cdd22b13d0ca33dbe8cf4338 (patch) | |
tree | 446617c21a59bf994dca6d953bb49e8f78690214 /myisam | |
parent | e00877807719dac0eaba1447f5fdf01c9dc3dfd9 (diff) | |
parent | 4276776d18a53c86b02e4f5342838ffb3596710d (diff) | |
download | mariadb-git-3cdf62664c3c1673cdd22b13d0ca33dbe8cf4338.tar.gz |
Merge work:/home/bk/mysql-4.0
into sergbook.mysql.com:/usr/home/serg/Abk/mysql-4.0
Diffstat (limited to 'myisam')
-rw-r--r-- | myisam/ft_parser.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/myisam/ft_parser.c b/myisam/ft_parser.c index 944b9efb35a..283216762e1 100644 --- a/myisam/ft_parser.c +++ b/myisam/ft_parser.c @@ -125,7 +125,7 @@ byte ft_get_word(byte **start, byte *end, FT_WORD *word, FTB_PARAM *param) byte *doc=*start; int mwc; - param->yesno=(FTB_YES==' ')?1:0; + param->yesno=(FTB_YES==' ') ? 1 : (param->quot != 0); param->plusminus=param->pmsign=0; while (doc<end) @@ -156,7 +156,7 @@ byte ft_get_word(byte **start, byte *end, FT_WORD *word, FTB_PARAM *param) if (*doc == FTB_NEG ) { param->pmsign=!param->pmsign; continue; } } param->prev=*doc; - param->yesno=(param->quot != 0); + param->yesno=(FTB_YES==' ') ? 1 : (param->quot != 0); param->plusminus=param->pmsign=0; } |