~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/r/replace.result

  • Committer: Jim Winstead
  • Date: 2008-07-19 02:56:45 UTC
  • mto: (202.1.8 codestyle)
  • mto: This revision was merged to the branch mainline in revision 207.
  • Revision ID: jimw@mysql.com-20080719025645-w2pwytebgzusjzjb
Various fixes to enable compilation on Mac OS X, and remove the glib dependency.
Temporarily disables tab-completion in the drizzle client until an appropriate
autoconf check can be added/enabled.

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;