dbTalk Databases Forums  

bk commit into 4.1 tree (bar:1.2316) BUG#9759

mailing.database.mysql-internals mailing.database.mysql-internals


Discuss bk commit into 4.1 tree (bar:1.2316) BUG#9759 in the mailing.database.mysql-internals forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
bar@mysql.com
 
Posts: n/a

Default 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


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.