MySQL Lists are EOL. Please join:

List:Internals« Previous MessageNext Message »
From:svoj Date:August 2 2005 9:27am
Subject:bk commit into 4.1 tree (svoj:1.2364) BUG#12075
View as plain text  
Below is the list of changes that have just been committed into a local
4.1 repository of svoj. When svoj does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html

ChangeSet
  1.2364 05/08/02 14:27:52 svoj@stripped +3 -0
  Fix for BUG#12075.
  FULLTEXT non-functional for big5 strings

  strings/ctype-big5.c
    1.76 05/08/02 14:27:49 svoj@stripped +6 -6
    hack: (to be fixed properly later) all multi-byte sequences are considered isalpha() now

  mysql-test/t/ctype_big5.test
    1.8 05/08/02 14:27:49 svoj@stripped +8 -0
    Test case for BUG#12075.

  mysql-test/r/ctype_big5.result
    1.8 05/08/02 14:27:49 svoj@stripped +6 -0
    Test case for BUG#12075.

# This is a BitKeeper patch.  What follows are the unified diffs for the
# set of deltas contained in the patch.  The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User:	svoj
# Host:	svoj-laptop.mysql.com
# Root:	/home/svoj/devel/mysql/BUG12075/mysql-4.1

--- 1.75/strings/ctype-big5.c	2005-07-26 16:35:24 +05:00
+++ 1.76/strings/ctype-big5.c	2005-08-02 14:27:49 +05:00
@@ -61,12 +61,12 @@
   2,2,2,2,2,2,2,2,2,2,2,16,16,16,16,32,
   0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
   0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
-  0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
-  0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
-  0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
-  0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
-  0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
-  0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+  0,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,
+  3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,
+  3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,
+  3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,
+  3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,
+  3,3,3,3,3,3,3,3,3,3,0,0,0,0,0,0,
 };
 
 static uchar NEAR to_lower_big5[]=

--- 1.7/mysql-test/r/ctype_big5.result	2005-07-06 17:13:57 +05:00
+++ 1.8/mysql-test/r/ctype_big5.result	2005-08-02 14:27:49 +05:00
@@ -128,3 +128,9 @@
 a
 DROP TABLE t1;
+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);
+HEX(a)
+A741ADCCA66EB6DC20A7DAADCCABDCA66E
+DROP TABLE t1;

--- 1.7/mysql-test/t/ctype_big5.test	2005-07-28 05:21:40 +05:00
+++ 1.8/mysql-test/t/ctype_big5.test	2005-08-02 14:27:49 +05:00
@@ -28,4 +28,12 @@
 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
Thread
bk commit into 4.1 tree (svoj:1.2364) BUG#12075svoj2 Aug