~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/r/replace.result

  • Committer: Monty Taylor
  • Date: 2008-10-16 09:12:23 UTC
  • mto: (511.1.6 codestyle)
  • mto: This revision was merged to the branch mainline in revision 521.
  • Revision ID: monty@inaugust.com-20081016091223-17ngih0qu9vssjs3
We pass -Wunused-macros now!

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
drop table if exists t1;
2
 
create table t1 (a int not null auto_increment primary key, b char(20) default "default_value");
3
 
insert into t1 values (126,"first"),(63, "middle"),(1,"last");
4
 
insert into t1 values (1,"error");
5
 
ERROR 23000: Duplicate entry '1' for key 'PRIMARY'
6
 
replace into t1 values (126,"first updated");
7
 
replace into t1 values (63,default);
8
 
select * from t1 order by a;
9
 
a       b
10
 
1       last
11
 
63      default_value
12
 
126     first updated
13
 
drop table t1;