From e43bc02e7b2752f0deb88cd1edc24d827e01dca9 Mon Sep 17 00:00:00 2001 From: Eugene Kosov Date: Mon, 16 Jul 2018 15:35:16 +0300 Subject: 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. --- sql/sql_update.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sql/sql_update.cc') diff --git a/sql/sql_update.cc b/sql/sql_update.cc index e42f6a4ff76..fe007d5823d 100644 --- a/sql/sql_update.cc +++ b/sql/sql_update.cc @@ -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); } -- cgit v1.2.1