~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/insert_update.test

  • 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:
87
87
# Bug#9725 - "disapearing query/hang" and "unknown error" with "on duplicate key update"
88
88
# INSERT INGORE...UPDATE gives bad error or breaks protocol.
89
89
#
90
 
create table t1 (a int not null unique) engine=myisam;
 
90
create table t1 (a int not null unique);
91
91
insert into t1 values (1),(2);
92
92
insert ignore into t1 select 1 on duplicate key update a=2;
93
93
select * from t1;
106
106
# Bogus "Duplicate columns" error message
107
107
#
108
108
 
109
 
CREATE TABLE t1 (
 
109
CREATE TEMPORARY TABLE t1 (
110
110
  a BIGINT NOT NULL DEFAULT 0,
111
111
  PRIMARY KEY  (a)
112
112
) ENGINE=MyISAM;