summaryrefslogtreecommitdiff
path: root/mysql-test/t/fulltext.test
diff options
context:
space:
mode:
authorunknown <svoj@april.(none)>2006-01-13 23:34:38 +0400
committerunknown <svoj@april.(none)>2006-01-13 23:34:38 +0400
commitca4935e6eac99e7e6efe83f49dcb0554a2840c7d (patch)
tree1588e9cc810767452c678f10f4312b1a23da0884 /mysql-test/t/fulltext.test
parentb358c5cb1b3bdfc548e6e58f8264d55ce72f9a6d (diff)
downloadmariadb-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 'mysql-test/t/fulltext.test')
-rw-r--r--mysql-test/t/fulltext.test6
1 files changed, 6 insertions, 0 deletions
diff --git a/mysql-test/t/fulltext.test b/mysql-test/t/fulltext.test
index ea92ec944ed..63a16fd8a41 100644
--- a/mysql-test/t/fulltext.test
+++ b/mysql-test/t/fulltext.test
@@ -355,6 +355,12 @@ SET myisam_repair_threads=@@global.myisam_repair_threads;
INSERT INTO t1 VALUES('testword\'\'');
SELECT a FROM t1 WHERE MATCH a AGAINST('testword' IN BOOLEAN MODE);
SELECT a FROM t1 WHERE MATCH a AGAINST('testword\'\'' IN BOOLEAN MODE);
+
+#
+# BUG#14194: Problem with fulltext boolean search and apostrophe
+#
+INSERT INTO t1 VALUES('test\'s');
+SELECT a FROM t1 WHERE MATCH a AGAINST('test' IN BOOLEAN MODE);
DROP TABLE t1;
# End of 4.1 tests