Commit 77e54c03 authored by Mattias Jonsson's avatar Mattias Jonsson
Browse files

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.
parent 78cca2d5
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -1154,7 +1154,7 @@ static bool mysql_test_insert(Prepared_statement *stmt,
    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 ?
      my_error(ER_DELAYED_NOT_SUPPORTED, MYF(0), (table_list->view ?
                                                  table_list->view_name.str :
                                                  table_list->table_name));
      goto error;