Current Path : /home/usr.opt/mysql57/mysql-test/suite/engines/funcs/r/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //home/usr.opt/mysql57/mysql-test/suite/engines/funcs/r/in_enum_null_boundary_error.result |
SET SQL_MODE="TRADITIONAL,ANSI"; DROP TABLE IF EXISTS t7; CREATE TABLE t7(c1 ENUM('a','abcdefghijabcdefghijabcdefghijabcdefghijabcdefghij') NULL); INSERT INTO t7(c1) VALUES(NULL); INSERT INTO t7(c1) VALUES(''); ERROR 01000: Data truncated for column 'c1' at row 1 INSERT INTO t7(c1) VALUES('a'); INSERT INTO t7(c1) VALUES('abcdefghijabcdefghijabcdefghijabcdefghijabcdefghij'); INSERT INTO t7(c1) VALUES('abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij'); ERROR 01000: Data truncated for column 'c1' at row 1 SELECT * FROM t7; c1 NULL a abcdefghijabcdefghijabcdefghijabcdefghijabcdefghij DROP TABLE t7;