~drizzle-trunk/drizzle/development

1 by brian
clean slate
1
drop table if exists t1;
520.1.8 by Brian Aker
Updating tests.
2
create table t1 (a int not null auto_increment primary key, b char(20) default "default_value");
1 by brian
clean slate
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);
520.1.8 by Brian Aker
Updating tests.
8
select * from t1 order by a;
1 by brian
clean slate
9
a	b
520.1.8 by Brian Aker
Updating tests.
10
1	last
11
63	default_value
1 by brian
clean slate
12
126	first updated
13
drop table t1;