~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysql-test/r/insert.result

  • Committer: Monty Taylor
  • Date: 2008-07-05 11:20:18 UTC
  • mto: This revision was merged to the branch mainline in revision 62.
  • Revision ID: monty@inaugust.com-20080705112018-fr12kkmgphtu7m29
Changes so that removal of duplicate curr_dir from my_sys.h work.

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;
45
62
create table t1 (id int NOT NULL DEFAULT 8);
46
63
insert into t1 values(NULL);
47
64
ERROR 23000: Column 'id' cannot be null
49
66
ERROR 23000: Column 'id' cannot be null
50
67
select * from t1;
51
68
id
 
69
1
52
70
drop table t1;
53
71
create table t1 (email varchar(50));
54
72
insert into t1 values ('sasha@mysql.com'),('monty@mysql.com'),('foo@hotmail.com'),('foo@aol.com'),('bar@aol.com');
136
154
4       10
137
155
5       20
138
156
6       90
139
 
10      130
140
 
11      140
141
 
12      150
 
157
7       130
 
158
8       140
 
159
9       150
142
160
drop table t1;
143
161
CREATE TABLE t1 (
144
162
a char(20) NOT NULL,