~mordred/drizzle/bug615046

« back to all changes in this revision

Viewing changes to plugin/pbxt/tests/t/basic_create_nullable.test

  • Committer: Monty Taylor
  • Date: 2010-08-17 15:18:37 UTC
  • mfrom: (1711.1.20 build)
  • Revision ID: mordred@inaugust.com-20100817151837-xg0sc9n6tgjaf4mn
Rollup merge.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
create table t1 (a int, b int not null, c int null, d int not null, pk int primary key);
 
2
show create table t1;
 
3
insert into t1 values (0,0, 0, 0,0);
 
4
--error 1048
 
5
insert into t1 values (NULL, NULL, NULL, NULL, 1);
 
6
insert into t1 values (NULL, 1, NULL, 1, 2);
 
7
--error 1048
 
8
insert into t1 values (1,2,3,NULL, 3);
 
9
drop table t1;