~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/r/insert_update.result

  • Committer: Brian Aker
  • Date: 2009-07-12 00:49:18 UTC
  • mfrom: (1063.9.51 brian-tmp-fix)
  • Revision ID: brian@gaz-20090712004918-chprmyj387ex6l8a
Merge Stewart

Show diffs side-by-side

added added

removed removed

Lines of Context:
169
169
2       1       11      NULL
170
170
DROP TABLE t1;
171
171
DROP TABLE t2;
172
 
create table t1 (a int not null unique) engine=myisam;
 
172
create table t1 (a int not null unique);
173
173
insert into t1 values (1),(2);
174
174
insert ignore into t1 select 1 on duplicate key update a=2;
175
175
select * from t1;
191
191
insert ignore into t1 select a from t1 on duplicate key update a=t1.a+1 ;
192
192
ERROR 23000: Column 't1.a' in field list is ambiguous
193
193
drop table t1;
194
 
CREATE TABLE t1 (
 
194
CREATE TEMPORARY TABLE t1 (
195
195
a BIGINT NOT NULL DEFAULT 0,
196
196
PRIMARY KEY  (a)
197
197
) ENGINE=MyISAM;