SET SQL_MODE="TRADITIONAL,ANSI";
--disable_warnings
DROP TABLE IF EXISTS t7;
--enable_warnings
CREATE TABLE t7(c1 ENUM('a','abcdefghijabcdefghijabcdefghijabcdefghijabcdefghij') NULL);
INSERT INTO t7(c1) VALUES(NULL);
--error 1265
INSERT INTO t7(c1) VALUES('');
INSERT INTO t7(c1) VALUES('a');
INSERT INTO t7(c1) VALUES('abcdefghijabcdefghijabcdefghijabcdefghijabcdefghij');
--error 1265
INSERT INTO t7(c1) VALUES('abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij');
SELECT * FROM t7;
DROP TABLE t7;
