mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
MDEV-9621 INSERT DELAYED fails on insert for tables with many columns
This fix also fixes a connection hang when trying to do INSERT DELAYED to a crashed table. Added crash_mysqld.inc to allow easy crash+restart of mysqld
This commit is contained in:
@@ -2570,8 +2570,13 @@ retry_share:
|
||||
(void) ot_ctx->request_backoff_action(Open_table_context::OT_DISCOVER,
|
||||
table_list);
|
||||
else if (share->crashed)
|
||||
(void) ot_ctx->request_backoff_action(Open_table_context::OT_REPAIR,
|
||||
table_list);
|
||||
{
|
||||
if (!(flags & MYSQL_OPEN_IGNORE_REPAIR))
|
||||
(void) ot_ctx->request_backoff_action(Open_table_context::OT_REPAIR,
|
||||
table_list);
|
||||
else
|
||||
table_list->crashed= 1; /* Mark that table was crashed */
|
||||
}
|
||||
goto err_lock;
|
||||
}
|
||||
if (open_table_entry_fini(thd, share, table))
|
||||
|
||||
Reference in New Issue
Block a user