1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

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

This commit is contained in:
Alexander Barkov
2009-11-09 14:53:49 +04:00
parent 7e8b208d3b
commit 3735ccba0b
2 changed files with 21 additions and 0 deletions

View File

@ -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('<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>'),
e2 enum('<27><><EFBFBD><EFBFBD><EFBFBD>')
) ENGINE=MYISAM character set cp1251;
SHOW CREATE TABLE t1;
DROP TABLE t1;
# End of 4.1 tests