bk commit into 4.1 tree (bar:1.2316) BUG#9759 -
06-06-2005
, 11:25 AM
Below is the list of changes that have just been committed into a local
4.1 repository of bar. When bar 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/in...urce-tree.html
ChangeSet
1.2316 05/06/06 21:22:23 bar (AT) mysql (DOT) com +3 -0
ctype_cp1250_ch.result, ctype_cp1250_ch.test:
Adding test.
ctype-win1250ch.c:
Bug #9759 Empty result with 'LIKE' and cp1250_czech_cs
Wrong min_sort_char fix.
mysql-test/r/ctype_cp1250_ch.result
1.2 05/06/06 21:22:04 bar (AT) mysql (DOT) com +12 -0
Adding test.
mysql-test/t/ctype_cp1250_ch.test
1.2 05/06/06 21:21:59 bar (AT) mysql (DOT) com +12 -0
Adding test.
strings/ctype-win1250ch.c
1.45 05/06/06 21:21:37 bar (AT) mysql (DOT) com +1 -1
Bug #9759 Empty result with 'LIKE' and cp1250_czech_cs
Wrong min_sort_char fix.
# 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: bar
# Host: bar.intranet.mysql.r18.ru
# Root: /usr/home/bar/mysql-4.1
--- 1.44/strings/ctype-win1250ch.c 2005-03-03 14:15:30 +04:00
+++ 1.45/strings/ctype-win1250ch.c 2005-06-06 21:21:37 +05:00
@@ -550,7 +550,7 @@
240, 242, 242, 245, 245, 245, 245, 247, 248, 251, 251, 251, 251, 253, 254, 255,
};
-#define min_sort_char '\x00'
+#define min_sort_char '\x20'
#define max_sort_char '\xff'
/*
--- 1.1/mysql-test/r/ctype_cp1250_ch.result 2005-03-03 14:15:31 +04:00
+++ 1.2/mysql-test/r/ctype_cp1250_ch.result 2005-06-06 21:22:04 +05:00
@@ -7,3 +7,15 @@
a length(a) a='' a=' ' a=' '
0 1 1 1
DROP TABLE t1;
+CREATE TABLE t1 (
+popisek varchar(30) collate cp1250_general_ci NOT NULL default '',
+PRIMARY KEY (`popisek`)
+);
+INSERT INTO t1 VALUES ('2005-01-1');
+SELECT * FROM t1 WHERE popisek = '2005-01-1';
+popisek
+2005-01-1
+SELECT * FROM t1 WHERE popisek LIKE '2005-01-1';
+popisek
+2005-01-1
+drop table t1;
--- 1.1/mysql-test/t/ctype_cp1250_ch.test 2005-03-03 14:15:31 +04:00
+++ 1.2/mysql-test/t/ctype_cp1250_ch.test 2005-06-06 21:21:59 +05:00
@@ -10,3 +10,15 @@
INSERT INTO t1 VALUES ('');
SELECT a, length(a), a='', a=' ', a=' ' FROM t1;
DROP TABLE t1;
+
+#
+# Bug#9759 Empty result with 'LIKE' and cp1250_czech_cs
+#
+CREATE TABLE t1 (
+ popisek varchar(30) collate cp1250_general_ci NOT NULL default '',
+ PRIMARY KEY (`popisek`)
+);
+INSERT INTO t1 VALUES ('2005-01-1');
+SELECT * FROM t1 WHERE popisek = '2005-01-1';
+SELECT * FROM t1 WHERE popisek LIKE '2005-01-1';
+drop table t1;
--
MySQL Internals Mailing List
For list archives: http://lists.mysql.com/internals
To unsubscribe: http://lists.mysql.com/internals?uns...ie.nctu.edu.tw |