diff options
author | unknown <serg@serg.mysql.com> | 2001-12-11 14:35:48 +0100 |
---|---|---|
committer | unknown <serg@serg.mysql.com> | 2001-12-11 14:35:48 +0100 |
commit | 7630970e728d93d4d5b653daecf608d9698c4645 (patch) | |
tree | 2519b54a42305036f80d40c17a9a74e899f5bb74 /myisam/ftdefs.h | |
parent | 6b7b5d3c3b053eec6b97789689032c37ce4c9b58 (diff) | |
download | mariadb-git-7630970e728d93d4d5b653daecf608d9698c4645.tar.gz |
_mi_ft_segiterator function family
BitKeeper/deleted/.del-build-tags~b6f6fff142121618:
Delete: build-tags
Diffstat (limited to 'myisam/ftdefs.h')
-rw-r--r-- | myisam/ftdefs.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/myisam/ftdefs.h b/myisam/ftdefs.h index ee35ccbb14a..f8b50cb45b9 100644 --- a/myisam/ftdefs.h +++ b/myisam/ftdefs.h @@ -120,6 +120,16 @@ uint _ft_make_key(MI_INFO *, uint , byte *, FT_WORD *, my_off_t); byte ft_get_word(byte **, byte *, FT_WORD *, FTB_PARAM *); byte ft_simple_get_word(byte **, byte *, FT_WORD *); +typedef struct _st_ft_seg_iterator { + uint num, len; + MI_KEYSEG *seg; + const byte *rec, *pos; +} FT_SEG_ITERATOR; + +void _mi_ft_segiterator_init(MI_INFO *, uint, const byte *, FT_SEG_ITERATOR *); +void _mi_ft_segiterator_dummy_init(const byte *, uint, FT_SEG_ITERATOR *); +uint _mi_ft_segiterator(FT_SEG_ITERATOR *); + int ft_parse(TREE *, byte *, int); FT_WORD * ft_linearize(/*MI_INFO *, uint, byte *, */TREE *); FT_WORD * _mi_ft_parserecord(MI_INFO *, uint, byte *, const byte *); |