summaryrefslogtreecommitdiff
path: root/myisam/ft_test1.c
diff options
context:
space:
mode:
authorunknown <serg@infomag.ape.relarn.ru>2000-08-18 15:05:36 +0400
committerunknown <serg@infomag.ape.relarn.ru>2000-08-18 15:05:36 +0400
commit41814b70d62d28e676c0d5f3e1b577c228cafa48 (patch)
tree3dbbca56737b885b721ae13db04651dc9dadd757 /myisam/ft_test1.c
parentd000fde588c33896739320df947ccf8cbad4b981 (diff)
downloadmariadb-git-41814b70d62d28e676c0d5f3e1b577c228cafa48.tar.gz
myisam/ft_* bugfix
myisam/ft_search.c: small bugfix myisam/ft_eval.c: HA_KEY_NOT_FOUND => HA_END_OF_FILE myisam/ft_test1.c: HA_KEY_NOT_FOUND => HA_END_OF_FILE
Diffstat (limited to 'myisam/ft_test1.c')
-rw-r--r--myisam/ft_test1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/myisam/ft_test1.c b/myisam/ft_test1.c
index 780e4f44b6f..dfe8e30383b 100644
--- a/myisam/ft_test1.c
+++ b/myisam/ft_test1.c
@@ -147,7 +147,7 @@ static int run_test(const char *filename)
i,query[i],result->ndocs);
for(j=0;j<5;j++) { double w; int err;
err=ft_read_next(result, read_record);
- if(err==HA_ERR_KEY_NOT_FOUND) {
+ if(err==HA_ERR_END_OF_FILE) {
printf("No more matches!\n");
break;
} else if (err) {