~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/innobase/mysql-test/innodb-replace.test

  • Committer: Brian Aker
  • Date: 2008-10-28 08:36:02 UTC
  • mfrom: (520.4.13 merge-innodb-plugin)
  • Revision ID: brian@tangent.org-20081028083602-0p3zzlhlxr5q2sqo
Merging Monty's work

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
-- source include/have_innodb.inc
 
2
# embedded server ignores 'delayed', so skip this
 
3
-- source include/not_embedded.inc
 
4
 
 
5
--disable_warnings
 
6
drop table if exists t1;
 
7
--enable_warnings
 
8
 
 
9
#
 
10
# Bug #1078
 
11
#
 
12
create table t1 (c1 char(5) unique not null, c2 int, stamp timestamp) engine=innodb;
 
13
select * from t1;
 
14
--error 1031
 
15
replace delayed into t1 (c1, c2)  values ( "text1","11");
 
16
select * from t1;
 
17
--error 1031
 
18
replace delayed into t1 (c1, c2)  values ( "text1","12");
 
19
select * from t1;
 
20
drop table t1;
 
21
 
 
22
# End of 4.1 tests