summaryrefslogtreecommitdiff
path: root/include/ft_global.h
diff options
context:
space:
mode:
authorunknown <serg@serg.mylan>2003-10-22 17:57:09 +0200
committerunknown <serg@serg.mylan>2003-10-22 17:57:09 +0200
commitfd85cc84e4cad1f40e09af35265f47cf57750c49 (patch)
tree7ae15b4585e3b15c019c86d4b74106eadc6c7df1 /include/ft_global.h
parent061cbf873428571f448815e6c1fcba5908373132 (diff)
downloadmariadb-git-fd85cc84e4cad1f40e09af35265f47cf57750c49.tar.gz
MATCH ... AGAINST ("..." WITH QUERY EXPANSION) syntax
myisam/mi_write.c: cleanup mysql-test/t/fulltext.test: after merge fix
Diffstat (limited to 'include/ft_global.h')
-rw-r--r--include/ft_global.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/include/ft_global.h b/include/ft_global.h
index 4aa916e91cf..afaad59ca50 100644
--- a/include/ft_global.h
+++ b/include/ft_global.h
@@ -57,9 +57,12 @@ extern const char *ft_boolean_syntax;
int ft_init_stopwords(void);
void ft_free_stopwords(void);
-#define FT_NL 0
-#define FT_BOOL 1
-FT_INFO *ft_init_search(uint,void *, uint, byte *, uint, my_bool);
+#define FT_NL 0 /* this MUST be 0, see ft_init_search() */
+#define FT_BOOL 1 /* this MUST be 1, see ft_init_search() */
+#define FT_SORTED 2
+#define FT_EXPAND 4 /* query expansion */
+
+FT_INFO *ft_init_search(uint,void *, uint, byte *, uint);
#ifdef __cplusplus
}