From: Date: June 9 2008 8:50pm Subject: bzr push into mysql-5.1 branch (mattiasj:2661) Bug#31210 List-Archive: http://lists.mysql.com/commits/47635 X-Bug: 31210 Message-Id: <20080609185029.B6C24A1EEAC@witty.localhost> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 2661 Mattias Jonsson 2008-06-09 Bug#31210: INSERT DELAYED crashes server when used on partitioned tables post push patch push build found tree failing test when using: --ps-protocol --mysqld=--binlog-format=row Changed to the new error message. modified: sql/sql_prepare.cc === modified file 'sql/sql_prepare.cc' --- a/sql/sql_prepare.cc 2008-05-20 16:36:26 +0000 +++ b/sql/sql_prepare.cc 2008-06-09 12:39:20 +0000 @@ -1154,9 +1154,9 @@ static bool mysql_test_insert(Prepared_s if (table_list->lock_type == TL_WRITE_DELAYED && !(table_list->table->file->ha_table_flags() & HA_CAN_INSERT_DELAYED)) { - my_error(ER_ILLEGAL_HA, MYF(0), (table_list->view ? - table_list->view_name.str : - table_list->table_name)); + my_error(ER_DELAYED_NOT_SUPPORTED, MYF(0), (table_list->view ? + table_list->view_name.str : + table_list->table_name)); goto error; } while ((values= its++))