From b9ccc653ea97368d162e5e473931134bb1cf1ef2 Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 2 Aug 2005 14:27:52 +0500 Subject: 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 --- mysql-test/t/ctype_big5.test | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'mysql-test/t/ctype_big5.test') 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 -- cgit v1.2.1