Merge branch '5.5' into 10.0

This commit is contained in:
Vicențiu Ciorbaru 2017-01-14 19:56:00 +02:00
commit 66744f4540
12 changed files with 58 additions and 38 deletions

View file

@ -548,9 +548,7 @@ bool mysql_delete(THD *thd, TABLE_LIST *table_list, COND *conds,
! thd->is_error())
{
if (table->vfield)
update_virtual_fields(thd, table,
table->triggers ? VCOL_UPDATE_ALL :
VCOL_UPDATE_FOR_READ);
update_virtual_fields(thd, table, VCOL_UPDATE_FOR_READ);
thd->inc_examined_row_count(1);
// thd->is_error() is tested to disallow delete row on error
if (!select || select->skip_record(thd) > 0)
@ -1297,4 +1295,3 @@ bool multi_delete::send_eof()
}
return 0;
}