~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/replace.test

  • Committer: Monty Taylor
  • Date: 2008-07-26 16:22:28 UTC
  • mto: (236.1.42 codestyle)
  • mto: This revision was merged to the branch mainline in revision 261.
  • Revision ID: monty@inaugust.com-20080726162228-atatk41l6w4np70m
Added gettext calls in to my_getopt.c and drizzle.c

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#
2
 
# Test of REPLACE with MyISAM and MEMORY
3
 
#
4
 
 
5
 
--disable_warnings
6
 
drop table if exists t1;
7
 
--enable_warnings
8
 
 
9
 
#
10
 
# Test when using replace on a key that has used up it's whole range
11
 
#
12
 
 
13
 
create table t1 (a int not null auto_increment primary key, b char(20) default "default_value");
14
 
insert into t1 values (126,"first"),(63, "middle"),(1,"last");
15
 
--error ER_DUP_ENTRY
16
 
insert into t1 values (1,"error");
17
 
#--error ER_DUP_ENTRY
18
 
#replace into t1 values (1,"error");
19
 
replace into t1 values (126,"first updated");
20
 
replace into t1 values (63,default);
21
 
select * from t1 order by a;
22
 
drop table t1;
23
 
 
24
 
# End of 4.1 tests