diff options
author | unknown <svoj@april.(none)> | 2006-01-13 23:34:38 +0400 |
---|---|---|
committer | unknown <svoj@april.(none)> | 2006-01-13 23:34:38 +0400 |
commit | ca4935e6eac99e7e6efe83f49dcb0554a2840c7d (patch) | |
tree | 1588e9cc810767452c678f10f4312b1a23da0884 /storage/myisam/ftdefs.h | |
parent | b358c5cb1b3bdfc548e6e58f8264d55ce72f9a6d (diff) | |
download | mariadb-git-ca4935e6eac99e7e6efe83f49dcb0554a2840c7d.tar.gz |
BUG#14194: Problem with fulltext boolean search and apostrophe
Fixed that single apostrophe was considered as a word character.
mysql-test/r/fulltext.result:
A test case for BUG#14194 added.
mysql-test/t/fulltext.test:
A test case for BUG#14194 added.
storage/myisam/ftdefs.h:
Fixed that single apostrophe was considered as a word character.
Diffstat (limited to 'storage/myisam/ftdefs.h')
-rw-r--r-- | storage/myisam/ftdefs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/myisam/ftdefs.h b/storage/myisam/ftdefs.h index 7c84c312a0b..800b911b425 100644 --- a/storage/myisam/ftdefs.h +++ b/storage/myisam/ftdefs.h @@ -25,7 +25,7 @@ #include <plugin.h> #define true_word_char(s,X) (my_isalnum(s,X) || (X)=='_') -#define misc_word_char(X) ((X)=='\'') +#define misc_word_char(X) 0 #define word_char(s,X) (true_word_char(s,X) || misc_word_char(X)) #define FT_MAX_WORD_LEN_FOR_SORT 31 |