~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/r/type_enum.result

updating

Show diffs side-by-side

added added

removed removed

Lines of Context:
1646
1646
a
1647
1647
drop table t1;
1648
1648
create table t1 (a enum(0xE4, '1', '2') not null default 0xE4);
1649
 
ERROR HY000: Corrupt or invalid table definition for t1: 
 
1649
ERROR HY000: Corrupt or invalid table definition for 't1': 
1650
1650
create table t1 (a enum(0xC3A4, '1', '2') not null default 0xC3A4);
1651
1651
show columns from t1;
1652
1652
Field   Type    Null    Default Default_is_NULL On_Update
1661
1661
a INT  default 1,
1662
1662
b ENUM('value','���_value','���') NOT NULL
1663
1663
);
1664
 
ERROR HY000: Corrupt or invalid table definition for t1: 
 
1664
ERROR HY000: Corrupt or invalid table definition for 't1': 
1665
1665
CREATE TABLE t1 (c enum('ae','oe','ue','ss') collate utf8_unicode_ci);
1666
1666
INSERT INTO t1 VALUES ('�');
1667
1667
ERROR HY000: Received an invalid enum value '�'.
1677
1677
CREATE TABLE t1 (
1678
1678
a ENUM('�','�','�') default '�'
1679
1679
);
1680
 
ERROR HY000: Corrupt or invalid table definition for t1: 
 
1680
ERROR HY000: Corrupt or invalid table definition for 't1': 
1681
1681
CREATE TABLE t1 (
1682
1682
a ENUM('ä','ö','ü') default 'ü'
1683
1683
);
1713
1713
) ENGINE=InnoDB COLLATE = utf8_general_ci
1714
1714
drop table t1;
1715
1715
create table t1(russian enum('E','F','E�F','F�E') NOT NULL DEFAULT'E');
1716
 
ERROR HY000: Corrupt or invalid table definition for t1: 
 
1716
ERROR HY000: Corrupt or invalid table definition for 't1': 
1717
1717
create table t1(denormal enum('E','F','E,F','F,E') NOT NULL DEFAULT'E');
1718
1718
show create table t1;
1719
1719
Table   Create Table
1722
1722
) ENGINE=InnoDB COLLATE = utf8_general_ci
1723
1723
drop table t1;
1724
1724
create table t1(russian_deviant enum('E','F','E�F','F,E') NOT NULL DEFAULT'E');
1725
 
ERROR HY000: Corrupt or invalid table definition for t1: 
 
1725
ERROR HY000: Corrupt or invalid table definition for 't1': 
1726
1726
CREATE TABLE t1 (
1727
1727
id INT AUTO_INCREMENT PRIMARY KEY,
1728
1728
c1 ENUM('a', '', 'b')