~posulliv/drizzle/optimizer-style-cleanup

« back to all changes in this revision

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

  • Committer: Padraig O'Sullivan
  • Date: 2010-04-17 01:38:47 UTC
  • mfrom: (1237.9.238 bad-staging)
  • Revision ID: osullivan.padraig@gmail.com-20100417013847-ibjioqsfbmf5yg4g
Merge trunk.

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;