diff options
author | unknown <serg@serg.mysql.com> | 2001-09-25 20:31:02 +0200 |
---|---|---|
committer | unknown <serg@serg.mysql.com> | 2001-09-25 20:31:02 +0200 |
commit | 734e2a8bcaa4a5d2de6059f4cdcac8e71bbb5d6d (patch) | |
tree | a70bc86b1e25c9dd79c1730e066609f2781b606d /myisam/ft_test1.c | |
parent | 51c261ff2393476110d2914bec5f8a1f057555be (diff) | |
download | mariadb-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 'myisam/ft_test1.c')
-rw-r--r-- | myisam/ft_test1.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/myisam/ft_test1.c b/myisam/ft_test1.c index 5093b591fb2..61d9a50e9c3 100644 --- a/myisam/ft_test1.c +++ b/myisam/ft_test1.c @@ -137,7 +137,7 @@ static int run_test(const char *filename) printf("- Reading rows with key\n"); for (i=0 ; i < NQUERIES ; i++) { FT_DOCLIST *result; - result=ft_init_search(file,0,(char*) query[i],strlen(query[i]),1); + result=ft_nlq_init_search(file,0,(char*) query[i],strlen(query[i]),1); if(!result) { printf("Query %d: `%s' failed with errno %3d\n",i,query[i],my_errno); continue; @@ -145,7 +145,7 @@ static int run_test(const char *filename) printf("Query %d: `%s'. Found: %d. Top five documents:\n", i,query[i],result->ndocs); for(j=0;j<5;j++) { double w; int err; - err=ft_read_next(result, read_record); + err=ft_nlq_read_next(result, read_record); if(err==HA_ERR_END_OF_FILE) { printf("No more matches!\n"); break; @@ -153,7 +153,7 @@ static int run_test(const char *filename) printf("ft_read_next %d failed with errno %3d\n",j,my_errno); break; } - w=ft_get_relevance(result); + w=ft_nlq_get_relevance(result); if(key_field == FIELD_VARCHAR) { uint l; char *p; @@ -164,7 +164,7 @@ static int run_test(const char *filename) printf("%10.7f: %.*s\n",w,recinfo[1].length, recinfo[0].length+read_record); } - ft_close_search(result); + ft_nlq_close_search(result); } if (mi_close(file)) goto err; |