summaryrefslogtreecommitdiff
path: root/myisam/ftdefs.h
diff options
context:
space:
mode:
authorunknown <serg@serg.mysql.com>2002-04-18 14:12:29 +0000
committerunknown <serg@serg.mysql.com>2002-04-18 14:12:29 +0000
commit862769a30ec0643bd59c8a6e8f0cd0c0d4cbed94 (patch)
tree41a1575c9ff76d1abb797f7fa4a654207dc3cdb5 /myisam/ftdefs.h
parentd8764f0b4a83bcd5958dad215c7bc59db807dc39 (diff)
downloadmariadb-git-862769a30ec0643bd59c8a6e8f0cd0c0d4cbed94.tar.gz
phrase search
Diffstat (limited to 'myisam/ftdefs.h')
-rw-r--r--myisam/ftdefs.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/myisam/ftdefs.h b/myisam/ftdefs.h
index e02220d0fd5..a1352a13150 100644
--- a/myisam/ftdefs.h
+++ b/myisam/ftdefs.h
@@ -95,6 +95,8 @@ extern ulong collstat;
#define FTB_RBR (ft_boolean_syntax[6])
#define FTB_NEG (ft_boolean_syntax[7])
#define FTB_TRUNC (ft_boolean_syntax[8])
+#define FTB_LQUOT (ft_boolean_syntax[10])
+#define FTB_RQUOT (ft_boolean_syntax[11])
typedef struct st_ft_word {
byte * pos;
@@ -111,6 +113,7 @@ typedef struct st_ftb_param {
int plusminus;
bool pmsign;
bool trunc;
+ byte *quot;
} FTB_PARAM;
int is_stopword(char *word, uint len);
@@ -132,7 +135,7 @@ uint _mi_ft_segiterator(FT_SEG_ITERATOR *);
void ft_parse_init(TREE *, CHARSET_INFO *);
int ft_parse(TREE *, byte *, int);
-FT_WORD * ft_linearize(/*MI_INFO *, uint, byte *, */TREE *);
+FT_WORD * ft_linearize(TREE *);
FT_WORD * _mi_ft_parserecord(MI_INFO *, uint, byte *, const byte *);
uint _mi_ft_parse(TREE *parsed, MI_INFO *info, uint keynr, const byte *record);