Current Path : /home/usr.opt/mysql57/mysql-test/suite/engines/funcs/t/ |
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/t/in_set_null_boundary_error.test |
SET SQL_MODE="TRADITIONAL,ANSI"; --disable_warnings DROP TABLE IF EXISTS t7; --enable_warnings CREATE TABLE t7(c1 SET('a','abcdefghijabcdefghijabcdefghijabcdefghijabcdefghij') NULL); INSERT INTO t7(c1) VALUES(NULL); 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'); INSERT INTO t7(c1) VALUES('a,abcdefghijabcdefghijabcdefghijabcdefghijabcdefghij'); SELECT * FROM t7; SELECT COUNT(c1) AS null_rows FROM t7 WHERE c1 IS NULL; DROP TABLE t7;