Bug #63081 INSERT DELAYED fails for merge table for single record, ok for multiple records.
Submitted: 2 Nov 2011 19:45 Modified: 3 Dec 2011 4:54
Reporter: Eric George Email Updates:
Status: No Feedback Impact on me:
None 
Category:MySQL Server: General Severity:S2 (Serious)
Version:5.0.77 OS:Linux (RedHat Enterprise)
Assigned to: CPU Architecture:Any
Tags: DELAYED, insert, merge

[2 Nov 2011 19:45] Eric George
Description:
When attempting to insert a single record into a merge table with the DELAYED option, the query failes with the error "ERROR 1031 (HY000): Table storage engine for 't' doesn't have this option"

However, and insert statement with the DELAYED option and multiple records completes normally.

How to repeat:
create table t1(x int);
create table t2(x int);

create table t(x int)ENGINE=MERGE UNION=(t1,t2) INSERT_METHOD=LAST;

This Works:
 insert delayed ignore into t values(1);
 
This fails with the error noted above:
 insert delayed ignore into t values(1),(2);

Suggested fix:
Make the behavior consistent between single record and multiple record insert queries.
[3 Nov 2011 4:54] Valeriy Kravchuk
Please, check with a newer version, 5.0.91+. For me everything is consistent:

macbook-pro:5.0 openxs$ bin/mysql -uroot test
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 1
Server version: 5.0.95-debug Source distribution

Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql> create table t1(x int);
Query OK, 0 rows affected (0.05 sec)

mysql> create table t2(x int);
Query OK, 0 rows affected (0.00 sec)

mysql> create table t(x int)ENGINE=MERGE UNION=(t1,t2) INSERT_METHOD=LAST;
Query OK, 0 rows affected (0.03 sec)

mysql>  insert delayed ignore into t values(1);
ERROR 1031 (HY000): Table storage engine for 't' doesn't have this option
mysql>  insert delayed ignore into t values(1),(2);
ERROR 1031 (HY000): Table storage engine for 't' doesn't have this option
[3 Dec 2011 7:00] Bugs System
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".