diff options
author | monty@hundin.mysql.fi <> | 2001-09-15 16:22:34 +0300 |
---|---|---|
committer | monty@hundin.mysql.fi <> | 2001-09-15 16:22:34 +0300 |
commit | 0d72e5440fdf6a2b99c36a9c8013bc2dc04ee23a (patch) | |
tree | 8783b1d57a27183a301b7fdfaaf671cf498a7e8e /myisam | |
parent | c55cde7c1ca4acdb6b945c153905081a7075f91f (diff) | |
download | mariadb-git-0d72e5440fdf6a2b99c36a9c8013bc2dc04ee23a.tar.gz |
Portability fixes
Diffstat (limited to 'myisam')
-rw-r--r-- | myisam/ft_boolean_search.c | 4 | ||||
-rw-r--r-- | myisam/ft_dump.c | 1 |
2 files changed, 4 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; } diff --git a/myisam/ft_dump.c b/myisam/ft_dump.c index bb308188969..42439085132 100644 --- a/myisam/ft_dump.c +++ b/myisam/ft_dump.c @@ -17,6 +17,7 @@ /* Written by Sergei A. Golubchik, who has a shared copyright to this code */ #include "ftdefs.h" +#include <getopt.h> static void get_options(int argc,char *argv[]); static void usage(char *argv[]); |