~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/embedded_innodb/tests/r/basic_create_nullable.result

  • Committer: Jay Pipes
  • Date: 2010-04-08 16:27:25 UTC
  • mfrom: (1405.6.10 replication-pairs)
  • mto: This revision was merged to the branch mainline in revision 1457.
  • Revision ID: jpipes@serialcoder-20100408162725-sugbgn38oxjqclq2
Merge trunk and replication-pairs with conflict resolution

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);
 
2
show create table t1;
 
3
Table   Create Table
 
4
t1      CREATE TABLE `t1` (
 
5
  `a` int DEFAULT NULL,
 
6
  `b` int NOT NULL,
 
7
  `c` int DEFAULT NULL,
 
8
  `d` int NOT NULL
 
9
) ENGINE=InnoDB
 
10
insert into t1 values (0,0, 0, 0);
 
11
insert into t1 values (NULL, NULL, NULL, NULL);
 
12
ERROR 23000: Column 'b' cannot be null
 
13
insert into t1 values (NULL, 1, NULL, 1);
 
14
insert into t1 values (1,2,3,NULL);
 
15
ERROR 23000: Column 'd' cannot be null
 
16
drop table t1;