diff options
author | unknown <monty@hundin.mysql.fi> | 2001-09-15 16:22:34 +0300 |
---|---|---|
committer | unknown <monty@hundin.mysql.fi> | 2001-09-15 16:22:34 +0300 |
commit | 7dc2f1a69e61a4370ae06edc77de0fd5bf98e6fb (patch) | |
tree | 8783b1d57a27183a301b7fdfaaf671cf498a7e8e /myisam | |
parent | ef2e750842f4f913ef93c404e4d2d05e95a4cfd0 (diff) | |
download | mariadb-git-7dc2f1a69e61a4370ae06edc77de0fd5bf98e6fb.tar.gz |
Portability fixes
libmysql/libmysql.c:
Cleanup & 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[]); |