12
15
# ===== csv_not_null.2 =====
14
19
CREATE TABLE t1 (a int NOT NULL, b blob NOT NULL, c CHAR(20) NOT NULL,
15
20
d VARCHAR(20) NOT NULL, e enum('foo','bar') NOT NULL,f DATE NOT NULL)
25
28
INSERT INTO t1 VALUES(0,'abc','def','ghi','bar','1999-12-31');
29
31
0 abc def ghi bar 1999-12-31
30
32
# === insert failures ===
31
33
INSERT INTO t1 VALUES(NULL,'ab','a','b','foo','2007-01-01');