mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
MDEV-19814 Assertion `update->n_fields < ulint(table->n_cols + table->n_v_cols)' on DELETE HISTORY
Turn off versioned_write for DELETE HISTORY.
This commit is contained in:
@ -354,7 +354,10 @@ bool mysql_delete(THD *thd, TABLE_LIST *table_list, COND *conds,
|
||||
select_lex->item_list, &conds,
|
||||
&delete_while_scanning))
|
||||
DBUG_RETURN(TRUE);
|
||||
|
||||
|
||||
if (delete_history)
|
||||
table->vers_write= false;
|
||||
|
||||
if (with_select)
|
||||
(void) result->prepare(select_lex->item_list, NULL);
|
||||
|
||||
|
Reference in New Issue
Block a user