summaryrefslogtreecommitdiff
path: root/include/ft_global.h
diff options
context:
space:
mode:
authorunknown <serg@serg.mysql.com>2001-04-17 21:30:02 +0200
committerunknown <serg@serg.mysql.com>2001-04-17 21:30:02 +0200
commit17ef8ef4443598265bca23d86d04fcc275da7804 (patch)
tree6c294f797e941fcb6156771d2a0f0dd4393d06bb /include/ft_global.h
parent09f0384e7abce9d9cb744d0a20b897b5a77ef747 (diff)
downloadmariadb-git-17ef8ef4443598265bca23d86d04fcc275da7804.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);