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_string_set_enum_fail.test |
--disable_warnings DROP TABLE IF EXISTS t7; --enable_warnings SET SQL_MODE='TRADITIONAL'; CREATE TABLE t7(c1 SET('a','b','c') NULL); --error 1265 INSERT INTO t7(c1) VALUES('abc'); SELECT * FROM t7; --error 1265 INSERT INTO t7(c1) VALUES(123); SELECT * FROM t7; --error 1265 INSERT INTO t7(c1) VALUES(0x878A); SELECT * FROM t7; --error 1265 INSERT INTO t7(c1) VALUES(NOW()); SELECT * FROM t7; DROP TABLE t7; SET SQL_MODE=''; SET SQL_MODE='TRADITIONAL'; CREATE TABLE t7(c1 ENUM('a','b','c') NULL); --error 1265 INSERT INTO t7(c1) VALUES('abc'); SELECT * FROM t7; --error 1265 INSERT INTO t7(c1) VALUES(123); SELECT * FROM t7; --error 1265 INSERT INTO t7(c1) VALUES(0x878A); SELECT * FROM t7; --error 1265 INSERT INTO t7(c1) VALUES(NOW()); SELECT * FROM t7; DROP TABLE t7; SET SQL_MODE='';