summaryrefslogtreecommitdiff
path: root/mysql-test/t/ctype_big5.test
diff options
context:
space:
mode:
authorunknown <svoj@mysql.com>2005-08-02 14:27:52 +0500
committerunknown <svoj@mysql.com>2005-08-02 14:27:52 +0500
commitb9ccc653ea97368d162e5e473931134bb1cf1ef2 (patch)
tree82125d664e36a152126421ced3b1b6e6dc16a926 /mysql-test/t/ctype_big5.test
parentb86a3bc339a3610860c5c760f2b5d029b0f4061d (diff)
downloadmariadb-git-b9ccc653ea97368d162e5e473931134bb1cf1ef2.tar.gz
Fix for BUG#12075.
FULLTEXT non-functional for big5 strings mysql-test/r/ctype_big5.result: Test case for BUG#12075. mysql-test/t/ctype_big5.test: Test case for BUG#12075. strings/ctype-big5.c: hack: (to be fixed properly later) all multi-byte sequences are considered isalpha() now
Diffstat (limited to 'mysql-test/t/ctype_big5.test')
-rw-r--r--mysql-test/t/ctype_big5.test8
1 files changed, 8 insertions, 0 deletions
diff --git a/mysql-test/t/ctype_big5.test b/mysql-test/t/ctype_big5.test
index e4fb1d2a32b..73d9f06042c 100644
--- a/mysql-test/t/ctype_big5.test
+++ b/mysql-test/t/ctype_big5.test
@@ -28,4 +28,12 @@ INSERT INTO t1 VALUES ('ùØ');
SELECT * FROM t1;
DROP TABLE t1;
+#
+# BUG#12075 - FULLTEXT non-functional for big5 strings
+#
+CREATE TABLE t1 (a CHAR(50) CHARACTER SET big5 NOT NULL, FULLTEXT(a));
+INSERT INTO t1 VALUES(0xA741ADCCA66EB6DC20A7DAADCCABDCA66E);
+SELECT HEX(a) FROM t1 WHERE MATCH(a) AGAINST (0xA741ADCCA66EB6DC IN BOOLEAN MODE);
+DROP TABLE t1;
+
# End of 4.1 tests