summaryrefslogtreecommitdiff
path: root/mysql-test/r/innodb-replace.result
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/r/innodb-replace.result')
-rw-r--r--mysql-test/r/innodb-replace.result12
1 files changed, 12 insertions, 0 deletions
diff --git a/mysql-test/r/innodb-replace.result b/mysql-test/r/innodb-replace.result
new file mode 100644
index 00000000000..a27806640ad
--- /dev/null
+++ b/mysql-test/r/innodb-replace.result
@@ -0,0 +1,12 @@
+create table t1 (c1 char(5) unique not null, c2 int, stamp timestamp) engine=innodb;
+select * from t1;
+c1 c2 stamp
+replace delayed into t1 (c1, c2) values ( "text1","11"),( "text2","12");
+ERROR HY000: Table storage engine for 't1' doesn't have this option
+select * from t1;
+c1 c2 stamp
+replace delayed into t1 (c1, c2) values ( "text1","12"),( "text2","13"),( "text3","14", "a" ),( "text4","15", "b" );
+ERROR HY000: Table storage engine for 't1' doesn't have this option
+select * from t1;
+c1 c2 stamp
+drop table t1;