summaryrefslogtreecommitdiff
path: root/include/ft_global.h
diff options
context:
space:
mode:
authorunknown <serg@serg.mysql.com>2001-09-25 20:31:02 +0200
committerunknown <serg@serg.mysql.com>2001-09-25 20:31:02 +0200
commit734e2a8bcaa4a5d2de6059f4cdcac8e71bbb5d6d (patch)
treea70bc86b1e25c9dd79c1730e066609f2781b606d /include/ft_global.h
parent51c261ff2393476110d2914bec5f8a1f057555be (diff)
downloadmariadb-git-734e2a8bcaa4a5d2de6059f4cdcac8e71bbb5d6d.tar.gz
get rid of ft_search. Now there're two sets of ft_ functions, ft_nlq_* and ft_boolean_*
BitKeeper/deleted/.del-ft_search.c~c011cb6e8041bb59: Delete: myisam/ft_search.c include/ft_global.h: ft_ --> ft_nlq_ myisam/Makefile.am: get rid of ft_search.c myisam/ft_dump.c: ft_ --> ft_nlq_ myisam/ft_eval.c: ft_ --> ft_nlq_ myisam/ft_nlq_search.c: get rid of ft_search.c myisam/ft_test1.c: ft_ --> ft_nlq_ sql/ha_myisam.cc: ft_ --> ft_nlq_ sql/ha_myisam.h: ft_ --> ft_nlq_ sql/handler.h: cleanup sql/item_func.cc: ft_ --> ft_nlq_ sql/item_func.h: ft_ --> ft_nlq_ sql/item_strfunc.h: cleanup
Diffstat (limited to 'include/ft_global.h')
-rw-r--r--include/ft_global.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/ft_global.h b/include/ft_global.h
index aed5998f40a..b6f33ec801b 100644
--- a/include/ft_global.h
+++ b/include/ft_global.h
@@ -50,12 +50,12 @@ extern uint ft_max_word_len_for_sort;
int ft_init_stopwords(const char **);
void ft_free_stopwords(void);
-FT_DOCLIST * ft_init_search(void *, uint, byte *, uint, my_bool);
-int ft_read_next(FT_DOCLIST *, char *);
-#define ft_close_search(handler) my_free(((gptr)(handler)),MYF(0))
-#define ft_get_relevance(handler) (((FT_DOCLIST *)(handler))->doc[((FT_DOCLIST *)(handler))->curdoc].weight)
-#define ft_get_docid(handler) (((FT_DOCLIST *)(handler))->doc[((FT_DOCLIST *)(handler))->curdoc].dpos)
-#define ft_reinit_search(handler) (((FT_DOCLIST *)(handler))->curdoc=-1)
+FT_DOCLIST * ft_nlq_init_search(void *, uint, byte *, uint, my_bool);
+int ft_nlq_read_next(FT_DOCLIST *, char *);
+#define ft_nlq_close_search(handler) my_free(((gptr)(handler)),MYF(0))
+#define ft_nlq_get_relevance(handler) (((FT_DOCLIST *)(handler))->doc[((FT_DOCLIST *)(handler))->curdoc].weight)
+#define ft_nlq_get_docid(handler) (((FT_DOCLIST *)(handler))->doc[((FT_DOCLIST *)(handler))->curdoc].dpos)
+#define ft_nlq_reinit_search(handler) (((FT_DOCLIST *)(handler))->curdoc=-1)
#ifdef __cplusplus
}