diff options
author | Vasil Dimov <vasil.dimov@oracle.com> | 2010-03-31 10:17:04 +0300 |
---|---|---|
committer | Vasil Dimov <vasil.dimov@oracle.com> | 2010-03-31 10:17:04 +0300 |
commit | 347055dde05e82f5229b8173e5a3dd81375f2d47 (patch) | |
tree | 74c939586b36a03fca03b4e4af310f5d2eaeb821 /storage/innobase/mysql-test/innodb-replace.test | |
parent | 819994b97e0f656ab1daf0c5eb60220b1d6480c2 (diff) | |
parent | 1fd221b65965d28c6f1b9821ad8dd493d8248aa1 (diff) | |
download | mariadb-git-347055dde05e82f5229b8173e5a3dd81375f2d47.tar.gz |
Import branches/5.1@r6912 from SVN on top of storage/innobase
Diffstat (limited to 'storage/innobase/mysql-test/innodb-replace.test')
-rw-r--r-- | storage/innobase/mysql-test/innodb-replace.test | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/storage/innobase/mysql-test/innodb-replace.test b/storage/innobase/mysql-test/innodb-replace.test new file mode 100644 index 00000000000..8c3aacde5e8 --- /dev/null +++ b/storage/innobase/mysql-test/innodb-replace.test @@ -0,0 +1,22 @@ +-- source include/have_innodb.inc +# embedded server ignores 'delayed', so skip this +-- source include/not_embedded.inc + +--disable_warnings +drop table if exists t1; +--enable_warnings + +# +# Bug #1078 +# +create table t1 (c1 char(5) unique not null, c2 int, stamp timestamp) engine=innodb; +select * from t1; +--error ER_DELAYED_NOT_SUPPORTED +replace delayed into t1 (c1, c2) values ( "text1","11"); +select * from t1; +--error ER_DELAYED_NOT_SUPPORTED +replace delayed into t1 (c1, c2) values ( "text1","12"); +select * from t1; +drop table t1; + +# End of 4.1 tests |