summaryrefslogtreecommitdiff
path: root/include/ft_global.h
diff options
context:
space:
mode:
authorserg@serg.mysql.com <>2001-04-17 21:30:02 +0200
committerserg@serg.mysql.com <>2001-04-17 21:30:02 +0200
commit185c2beaea68c4f267e3285022a5a30e34d41adb (patch)
tree6c294f797e941fcb6156771d2a0f0dd4393d06bb /include/ft_global.h
parentf751ab1a9ad87e9df09554dc636abc521432c34f (diff)
downloadmariadb-git-185c2beaea68c4f267e3285022a5a30e34d41adb.tar.gz
ft_* variables added
Diffstat (limited to 'include/ft_global.h')
-rw-r--r--include/ft_global.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/ft_global.h b/include/ft_global.h
index bca13271f34..415c0884989 100644
--- a/include/ft_global.h
+++ b/include/ft_global.h
@@ -27,6 +27,7 @@ extern "C" {
#endif
#define FT_QUERY_MAXLEN 1024
+#define HA_FT_MAXLEN 254
typedef struct ft_doc_rec {
my_off_t dpos;
@@ -42,6 +43,10 @@ typedef struct st_ft_doclist {
extern const char *ft_precompiled_stopwords[];
+extern uint ft_min_word_len;
+extern uint ft_max_word_len;
+extern uint ft_max_word_len_for_sort;
+
int ft_init_stopwords(const char **);
void ft_free_stopwords(void);