diff options
author | unknown <serg@serg.mysql.com> | 2000-11-04 15:48:06 +0100 |
---|---|---|
committer | unknown <serg@serg.mysql.com> | 2000-11-04 15:48:06 +0100 |
commit | 2122fc26030b3f96e940bb589a93d22d5c126219 (patch) | |
tree | d59c95d63a178310fb32651511ae825b9e9a8fb3 /include/ft_global.h | |
parent | 30cab562293df1c98d23266bd5863773f191309f (diff) | |
download | mariadb-git-2122fc26030b3f96e940bb589a93d22d5c126219.tar.gz |
fixed bug with FULLTEXT and ORDER BY
include/ft_global.h:
fixed bug with ORDER BY
sql/ha_myisam.cc:
fixed bug with ORDER BY
sql/item_func.cc:
fixed bug with ORDER BY
sql/item_func.h:
fixed bug with ORDER BY
sql/sql_select.cc:
fixed bug with ORDER BY
Diffstat (limited to 'include/ft_global.h')
-rw-r--r-- | include/ft_global.h | 5 |
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 } |