summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorunknown <sasha@mysql.sashanet.com>2000-11-04 20:21:22 -0700
committerunknown <sasha@mysql.sashanet.com>2000-11-04 20:21:22 -0700
commitccc273c6a651a8cc422aa8b79d99767251de4446 (patch)
treed7dee0d0e621dc35e6be32077b8bac91844ebb04 /include
parentee972a4d9fc276a6f47fdb540a7ca88532f018aa (diff)
parent9184f1313400781d0e1d4ddb0a0a86d756f743c8 (diff)
downloadmariadb-git-ccc273c6a651a8cc422aa8b79d99767251de4446.tar.gz
Merge work.mysql.com:/home/bk/mysql
into mysql.sashanet.com:/home/sasha/src/bk/mysql BitKeeper/etc/logging_ok: Auto converge
Diffstat (limited to 'include')
-rw-r--r--include/ft_global.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/ft_global.h b/include/ft_global.h
index 90641313235..3937bd87c7f 100644
--- a/include/ft_global.h
+++ b/include/ft_global.h
@@ -47,8 +47,9 @@ 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) ((handler)->doc[(handler)->curdoc].weight)
+#define ft_close_search(handler) my_free(((gptr)(handler)),MYF(0))
+#define ft_get_relevance(handler) ((handler)->doc[(handler)->curdoc].weight)
+#define ft_reinit_search(handler) (((FT_DOCLIST *)(handler))->curdoc=-1)
#ifdef __cplusplus
}