~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/r/replace.result

  • Committer: Monty Taylor
  • Date: 2009-04-14 19:16:51 UTC
  • mto: (997.2.5 mordred)
  • mto: This revision was merged to the branch mainline in revision 994.
  • Revision ID: mordred@inaugust.com-20090414191651-ltbww6hpqks8k7qk
Clarified instructions in README.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
drop table if exists t1;
 
2
CREATE TABLE t1 (
 
3
gesuchnr int DEFAULT '0' NOT NULL,
 
4
benutzer_id int DEFAULT '0' NOT NULL,
 
5
PRIMARY KEY (gesuchnr,benutzer_id)
 
6
);
 
7
replace into t1 (gesuchnr,benutzer_id) values (2,1);
 
8
replace into t1 (gesuchnr,benutzer_id) values (1,1);
 
9
replace into t1 (gesuchnr,benutzer_id) values (1,1);
 
10
alter table t1 engine=heap;
 
11
replace into t1 (gesuchnr,benutzer_id) values (1,1);
 
12
drop table t1;
2
13
create table t1 (a int not null auto_increment primary key, b char(20) default "default_value");
3
14
insert into t1 values (126,"first"),(63, "middle"),(1,"last");
4
15
insert into t1 values (1,"error");