Commit 3735ccba authored by Alexander Barkov's avatar Alexander Barkov

Backporting test for Bug#158 ENUM and SET types does not accept valid cp1251 character

parent 7e8b208d
......@@ -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;
......@@ -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
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment