1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

MDEV-16741 Assertion `m_extra_cache' failed in ha_partition::late_extra_cache

multi_delete sets TABLE::no_cache=1 and should set it to 0 when DELETE is done.
This commit is contained in:
Eugene Kosov
2018-07-16 15:35:16 +03:00
committed by Vladislav Vaintroub
parent ff34436a2e
commit e43bc02e7b
4 changed files with 21 additions and 1 deletions

View File

@ -1868,7 +1868,7 @@ multi_update::~multi_update()
TABLE_LIST *table;
for (table= update_tables ; table; table= table->next_local)
{
table->table->no_keyread= table->table->no_cache= 0;
table->table->no_keyread= 0;
if (ignore)
table->table->file->extra(HA_EXTRA_NO_IGNORE_DUP_KEY);
}