mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Backporting test for Bug#158 ENUM and SET types does not accept valid cp1251 character
This commit is contained in:
@ -70,3 +70,14 @@ we_ivo NULL
|
|||||||
we_martin NULL
|
we_martin NULL
|
||||||
we_toshko NULL
|
we_toshko NULL
|
||||||
drop table t1;
|
drop table t1;
|
||||||
|
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;
|
||||||
|
Table Create Table
|
||||||
|
t1 CREATE TABLE `t1` (
|
||||||
|
`e1` enum('<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>') DEFAULT NULL,
|
||||||
|
`e2` enum('<27><><EFBFBD><EFBFBD><EFBFBD>') 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_%';
|
select * from t1 where a like 'we_%';
|
||||||
drop table t1;
|
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
|
# End of 4.1 tests
|
||||||
|
Reference in New Issue
Block a user