~jlukas79/+junk/mysql-server

« back to all changes in this revision

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

manual merge 6.0-main --> 6.0-bka-review

Show diffs side-by-side

added added

removed removed

Lines of Context:
143
143
);
144
144
insert into t5( a, b, c) values( 9, 'recreated table', 9);
145
145
execute stmt2 ;
146
 
a       b       c
147
 
9       recreated table 9
 
146
a       c       b
 
147
9       9       recreated table
148
148
drop table t5 ;
149
149
create table t5
150
150
(
151
151
a int primary key,
152
152
b char(30),
153
153
c int,
154
 
d timestamp default current_timestamp
 
154
d timestamp default '2008-02-23 09:23:45'
155
155
);
156
156
insert into t5( a, b, c) values( 9, 'recreated table', 9);
157
157
execute stmt2 ;
158
 
a       b       c
159
 
9       recreated table 9
 
158
a       b       c       d
 
159
9       recreated table 9       2008-02-23 09:23:45
160
160
drop table t5 ;
161
161
create table t5
162
162
(
163
163
a int primary key,
164
 
d timestamp default current_timestamp,
 
164
d timestamp default '2008-02-23 09:23:45',
165
165
b char(30),
166
166
c int
167
167
);
168
168
insert into t5( a, b, c) values( 9, 'recreated table', 9);
169
169
execute stmt2 ;
170
 
a       b       c
171
 
9       recreated table 9
 
170
a       d       b       c
 
171
9       2008-02-23 09:23:45     recreated table 9
172
172
drop table t5 ;
173
173
create table t5
174
174
(
189
189
);
190
190
insert into t5( f1, f2, f3) values( 9, 'recreated table', 9);
191
191
execute stmt2 ;
192
 
ERROR 42S22: Unknown column 'test.t5.a' in 'field list'
 
192
f1      f2      f3
 
193
9       recreated table 9
193
194
drop table t5 ;
194
195
prepare stmt1 from ' select * from t1 where a <= 2 ' ;
195
196
execute stmt1 ;