diff options
author | unknown <serg@infomag.ape.relarn.ru> | 2000-08-25 19:56:55 +0400 |
---|---|---|
committer | unknown <serg@infomag.ape.relarn.ru> | 2000-08-25 19:56:55 +0400 |
commit | fe26eac2198e79de6e23c17c5033a5c7bc8e1d41 (patch) | |
tree | ad2b5aff206599e2ee78906e3fbf28616044ffe1 /include | |
parent | e7f6ed657df487531872b61355dfb3a88e0bae57 (diff) | |
download | mariadb-git-fe26eac2198e79de6e23c17c5033a5c7bc8e1d41.tar.gz |
Stopwords (English only); fulltext keys now can be repaired
myisam/fulltext.h:
stopwords moved to include/ft_global.h
myisam/mi_check.c:
fulltext keys now can be repaired
include/ft_global.h:
stopwords declaration
sql/ha_myisam.cc:
bug in ::repair
sql/mysqld.cc:
stopwords initialized with PRECOMPILED_STOPWORDS
include/Makefile.am:
because `bk ci' set permissions to 444, the my_global.h
should be removed, not overwritten.]
Diffstat (limited to 'include')
-rw-r--r-- | include/Makefile.am | 1 | ||||
-rw-r--r-- | include/ft_global.h | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/include/Makefile.am b/include/Makefile.am index 5ee60521ca0..30b763e42ec 100644 --- a/include/Makefile.am +++ b/include/Makefile.am @@ -45,6 +45,7 @@ my_config.h: ../config.h # This should be changed in the source and removed. my_global.h: global.h + -$(RM) my_global.h $(CP) global.h my_global.h # These files should not be included in distributions since they are diff --git a/include/ft_global.h b/include/ft_global.h index 0de13974027..32490dd079f 100644 --- a/include/ft_global.h +++ b/include/ft_global.h @@ -40,6 +40,8 @@ typedef struct st_ft_doclist { FT_DOC doc[1]; } FT_DOCLIST; +extern const char *ft_precompiled_stopwords[]; + int ft_init_stopwords(const char **); FT_DOCLIST * ft_init_search(void *, uint, byte *, uint, my_bool); |