summaryrefslogtreecommitdiff
path: root/mysql-test
diff options
context:
space:
mode:
authorunknown <bar@mysql.com/bar.intranet.mysql.r18.ru>2006-08-15 12:04:51 +0500
committerunknown <bar@mysql.com/bar.intranet.mysql.r18.ru>2006-08-15 12:04:51 +0500
commit0cd51b1afdc8c6192614af62925a2bcd73287a7f (patch)
treeaeff9e2e373ebb32e7adf91af53fe67a5c23bda7 /mysql-test
parent131f9a71d101db6551176cf7dff0528395fa751a (diff)
parentef6019010da0a55f018e7f37a8d191236d9202ca (diff)
downloadmariadb-git-0cd51b1afdc8c6192614af62925a2bcd73287a7f.tar.gz
Merge mysql.com:/usr/home/bar/mysql-4.1.b19741
into mysql.com:/usr/home/bar/mysql-5.0.b19741merge strings/ctype-win1250ch.c: Coding style fix
Diffstat (limited to 'mysql-test')
-rw-r--r--mysql-test/r/ctype_cp1250_ch.result8
-rw-r--r--mysql-test/t/ctype_cp1250_ch.test10
2 files changed, 18 insertions, 0 deletions
diff --git a/mysql-test/r/ctype_cp1250_ch.result b/mysql-test/r/ctype_cp1250_ch.result
index 533bfb8cb53..b55849e4e12 100644
--- a/mysql-test/r/ctype_cp1250_ch.result
+++ b/mysql-test/r/ctype_cp1250_ch.result
@@ -42,3 +42,11 @@ id str
6 aaaaaa
7 aaaaaaa
drop table t1;
+set names cp1250;
+create table t1 (a varchar(15) collate cp1250_czech_cs NOT NULL, primary key(a));
+insert into t1 values("abcdefghá");
+insert into t1 values("ááèè");
+select a from t1 where a like "abcdefghá";
+a
+abcdefghá
+drop table t1;
diff --git a/mysql-test/t/ctype_cp1250_ch.test b/mysql-test/t/ctype_cp1250_ch.test
index 2d1e5f0bf9d..65550e0c193 100644
--- a/mysql-test/t/ctype_cp1250_ch.test
+++ b/mysql-test/t/ctype_cp1250_ch.test
@@ -44,4 +44,14 @@ INSERT INTO t1 VALUES (NULL, 'aaaaaaa');
select * from t1 where str like 'aa%';
drop table t1;
+#
+# Bug#19741 segfault with cp1250 charset + like + primary key + 64bit os
+#
+set names cp1250;
+create table t1 (a varchar(15) collate cp1250_czech_cs NOT NULL, primary key(a));
+insert into t1 values("abcdefghá");
+insert into t1 values("ááèè");
+select a from t1 where a like "abcdefghá";
+drop table t1;
+
# End of 4.1 tests