~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/r/replace.result

  • Committer: Monty Taylor
  • Date: 2008-09-16 00:00:48 UTC
  • mto: This revision was merged to the branch mainline in revision 391.
  • Revision ID: monty@inaugust.com-20080916000048-3rvrv3gv9l0ad3gs
Fixed copyright headers in drizzled/

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;