~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/r/default.result

Phase 1 - temporal changes

Show diffs side-by-side

added added

removed removed

Lines of Context:
114
114
drop table bug20691;
115
115
create table bug20691 (
116
116
b enum('small', 'medium', 'large', 'enormous', 'ellisonego') not null,
117
 
c time not null,
118
117
d date not null,
119
118
e int not null,
120
119
g blob not null,
121
120
h datetime not null,
122
121
i decimal not null,
123
122
x int);
124
 
insert into bug20691 values (3, 5, '0007-01-01', 11, 17, '0019-01-01 00:00:00', 23, 1);
 
123
insert into bug20691 values (3, '0007-01-01', 11, 17, '0019-01-01 00:00:00', 23, 1);
125
124
insert into bug20691 (x) values (2);
126
 
ERROR HY000: Field 'c' doesn't have a default value
127
 
insert into bug20691 values (3, 5, '0007-01-01', 11, 17, '0019-01-01 00:00:00', 23, 3);
128
 
insert into bug20691 values (DEFAULT, DEFAULT, DEFAULT, DEFAULT, DEFAULT, DEFAULT, DEFAULT, 4);
 
125
ERROR HY000: Field 'd' doesn't have a default value
 
126
insert into bug20691 values (3, '0007-01-01', 11, 17, '0019-01-01 00:00:00', 23, 3);
 
127
insert into bug20691 values (DEFAULT, DEFAULT, DEFAULT, DEFAULT, DEFAULT, DEFAULT, 4);
129
128
ERROR HY000: Field 'b' doesn't have a default value
130
129
select * from bug20691 order by x asc;
131
 
b       c       d       e       g       h       i       x
132
 
large   00:00:05        0007-01-01      11      17      0019-01-01 00:00:00     23      1
133
 
large   00:00:05        0007-01-01      11      17      0019-01-01 00:00:00     23      3
 
130
b       d       e       g       h       i       x
 
131
large   0007-01-01      11      17      0019-01-01 00:00:00     23      1
 
132
large   0007-01-01      11      17      0019-01-01 00:00:00     23      3
134
133
drop table bug20691;
135
134
create table t1 (id int not null default 1);
136
135
insert into t1 values(default);