~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/r/insert.result

  • Committer: Brian Aker
  • Date: 2008-07-20 09:02:20 UTC
  • Revision ID: brian@tangent.org-20080720090220-bhrg1wemfnzutbgi
Convert default engine to Innodb

Show diffs side-by-side

added added

removed removed

Lines of Context:
42
42
5       0       a       NULL
43
43
6       1       hello   NULL
44
44
drop table t1;
45
 
create table t1 (sid char(20), id int(2) NOT NULL auto_increment, key(sid, id));
46
 
insert into t1 values ('skr',NULL),('skr',NULL),('test',NULL);
47
 
select * from t1;
48
 
sid     id
49
 
skr     1
50
 
skr     2
51
 
test    1
52
 
insert into t1 values ('rts',NULL),('rts',NULL),('test',NULL);
53
 
select * from t1;
54
 
sid     id
55
 
rts     1
56
 
rts     2
57
 
skr     1
58
 
skr     2
59
 
test    1
60
 
test    2
61
 
drop table t1;
62
45
create table t1 (id int NOT NULL DEFAULT 8);
63
46
insert into t1 values(NULL);
64
47
ERROR 23000: Column 'id' cannot be null
66
49
ERROR 23000: Column 'id' cannot be null
67
50
select * from t1;
68
51
id
69
 
1
70
52
drop table t1;
71
53
create table t1 (email varchar(50));
72
54
insert into t1 values ('sasha@mysql.com'),('monty@mysql.com'),('foo@hotmail.com'),('foo@aol.com'),('bar@aol.com');
154
136
4       10
155
137
5       20
156
138
6       90
157
 
7       130
158
 
8       140
159
 
9       150
 
139
10      130
 
140
11      140
 
141
12      150
160
142
drop table t1;
161
143
CREATE TABLE t1 (
162
144
a char(20) NOT NULL,