1
CREATE TABLE t1 (a int NOT NULL default 42);
2
INSERT INTO t1 values ();
6
ALTER TABLE t1 ALTER COLUMN a DROP DEFAULT;
7
INSERT INTO t1 values ();
8
ERROR HY000: Field 'a' doesn't have a default value
9
INSERT INTO t1 (a) VALUES (11);
10
SELECT * FROM t1 ORDER BY a;