summaryrefslogtreecommitdiff
path: root/mysql-test/t/innodb-replace.test
diff options
context:
space:
mode:
authorMattias Jonsson <mattiasj@mysql.com>2008-06-03 13:25:41 +0200
committerMattias Jonsson <mattiasj@mysql.com>2008-06-03 13:25:41 +0200
commit109a041a958b48cf835b57d424d2feee1c677ceb (patch)
treeb16830a525163b32894bb97f2bb0546f6dfa0daf /mysql-test/t/innodb-replace.test
parent7fe7e4318b2a09bc25459d81cb7d9757c82a0710 (diff)
downloadmariadb-git-109a041a958b48cf835b57d424d2feee1c677ceb.tar.gz
Bug#31210: INSERT DELAYED crashes server when used on partitioned tables
Problem was an unclear error message since it could suggest that MyISAM did not support INSERT DELAYED. Changed the error message to say that DELAYED is not supported by the table, instead of the table's storage engine. The confusion is that a partitioned table is in somewhat sense using the partitioning storage engine, which in turn uses the ordinary storage engine. By saying that the table does not support DELAYED we do not give any extra informantion about the storage engine or if it is partitioned.
Diffstat (limited to 'mysql-test/t/innodb-replace.test')
-rw-r--r--mysql-test/t/innodb-replace.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/mysql-test/t/innodb-replace.test b/mysql-test/t/innodb-replace.test
index d44ede65ce8..8c3aacde5e8 100644
--- a/mysql-test/t/innodb-replace.test
+++ b/mysql-test/t/innodb-replace.test
@@ -11,10 +11,10 @@ drop table if exists t1;
#
create table t1 (c1 char(5) unique not null, c2 int, stamp timestamp) engine=innodb;
select * from t1;
---error 1031
+--error ER_DELAYED_NOT_SUPPORTED
replace delayed into t1 (c1, c2) values ( "text1","11");
select * from t1;
---error 1031
+--error ER_DELAYED_NOT_SUPPORTED
replace delayed into t1 (c1, c2) values ( "text1","12");
select * from t1;
drop table t1;