1
--source include/have_linux.inc
2
SET SESSION storage_engine=pbxt;
3
create table t1 (a int, b int not null, c int null, d int not null, pk int primary key);
5
insert into t1 values (0,0, 0, 0,0);
6
--error ER_BAD_NULL_ERROR
7
insert into t1 values (NULL, NULL, NULL, NULL, 1);
8
insert into t1 values (NULL, 1, NULL, 1, 2);
9
--error ER_BAD_NULL_ERROR
10
insert into t1 values (1,2,3,NULL, 3);