diff options
author | unknown <serg@serg.mysql.com> | 2001-11-28 17:55:45 +0100 |
---|---|---|
committer | unknown <serg@serg.mysql.com> | 2001-11-28 17:55:45 +0100 |
commit | f3918c8413199fff3339a62498ecc42d8c540c3a (patch) | |
tree | caee073830ac75c7f6485bf0a5d92ffda5d16255 /myisam/ft_update.c | |
parent | 056c71f1ae445b96c13e241d40a729f16e65bb4a (diff) | |
download | mariadb-git-f3918c8413199fff3339a62498ecc42d8c540c3a.tar.gz |
boolean fulltext search without an index
myisam/ft_dump.c:
some help added
Diffstat (limited to 'myisam/ft_update.c')
-rw-r--r-- | myisam/ft_update.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/myisam/ft_update.c b/myisam/ft_update.c index 89da06e673f..1bc0ace6c77 100644 --- a/myisam/ft_update.c +++ b/myisam/ft_update.c @@ -28,7 +28,7 @@ /**************************************************************/ -/* parses a document i.e. calls _mi_ft_parse for every keyseg */ +/* parses a document i.e. calls ft_parse for every keyseg */ uint _mi_ft_parse(TREE *parsed, MI_INFO *info, uint keynr, const byte *record) { byte *pos; @@ -57,11 +57,11 @@ uint _mi_ft_parse(TREE *parsed, MI_INFO *info, uint keynr, const byte *record) } else len=keyseg->length; - if (!(ft_parse(parsed, pos, len))) + if (ft_parse(parsed, pos, len)) return 1; } /* Handle the case where all columns are NULL */ - if (!is_tree_inited(parsed) && !(ft_parse(parsed, (byte*) "", 0))) + if (!is_tree_inited(parsed) && ft_parse(parsed, (byte*) "", 0)) return 1; else return 0; |