mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 13:32:33 +01:00
109a041a95
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.
13 lines
445 B
Text
13 lines
445 B
Text
drop table if exists t1;
|
|
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");
|
|
ERROR HY000: DELAYED option not supported for table 't1'
|
|
select * from t1;
|
|
c1 c2 stamp
|
|
replace delayed into t1 (c1, c2) values ( "text1","12");
|
|
ERROR HY000: DELAYED option not supported for table 't1'
|
|
select * from t1;
|
|
c1 c2 stamp
|
|
drop table t1;
|