List:Commits« Previous MessageNext Message »
From:Alexander Barkov Date:November 9 2009 10:54am
Subject:bzr commit into mysql-5.5-next-mr-bugfixing branch (bar:2942) Bug#158
View as plain text  
#At file:///home/bar/mysql-bzr/mysql-next-mr-bugfixing/ based on revid:bar@strippedz7

 2942 Alexander Barkov	2009-11-09
      Backporting test for Bug#158 ENUM and SET types does not accept valid cp1251 character

    modified:
      mysql-test/r/ctype_cp1251.result
      mysql-test/t/ctype_cp1251.test
=== modified file 'mysql-test/r/ctype_cp1251.result'
--- a/mysql-test/r/ctype_cp1251.result	2005-10-13 14:16:19 +0000
+++ b/mysql-test/r/ctype_cp1251.result	2009-11-09 10:53:49 +0000
@@ -70,3 +70,14 @@ we_ivo	NULL
 we_martin	NULL
 we_toshko	NULL
 drop table t1;
+CREATE TABLE t1 (
+e1 enum('���),
+e2 enum('��)
+) ENGINE=MYISAM character set cp1251;
+SHOW CREATE TABLE t1;
+Table	Create Table
+t1	CREATE TABLE `t1` (
+  `e1` enum('���) DEFAULT NULL,
+  `e2` enum('��) DEFAULT NULL
+) ENGINE=MyISAM DEFAULT CHARSET=cp1251
+DROP TABLE t1;

=== modified file 'mysql-test/t/ctype_cp1251.test'
--- a/mysql-test/t/ctype_cp1251.test	2005-10-13 14:16:19 +0000
+++ b/mysql-test/t/ctype_cp1251.test	2009-11-09 10:53:49 +0000
@@ -47,4 +47,14 @@ insert into t1 (a) values ('air'),
 select * from t1 where a like 'we_%';
 drop table t1;
 
+#
+# Bug#158 ENUM and SET types does not accept valid cp1251 character
+#
+CREATE TABLE t1 (
+  e1 enum('���),
+  e2 enum('��)
+) ENGINE=MYISAM character set cp1251;
+SHOW CREATE TABLE t1;
+DROP TABLE t1;
+
 # End of 4.1 tests

Attachment: [text/bzr-bundle] bzr/bar@mysql.com-20091109105349-z6uocrghcmyfrhs6.bundle
Thread
bzr commit into mysql-5.5-next-mr-bugfixing branch (bar:2942) Bug#158Alexander Barkov9 Nov