mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
cleanup: TABLE::update_virtual_fields
Make update_virtual_fields() a method of TABLE, to be consistent with TABLE::update_default_fields().
This commit is contained in:
@ -561,7 +561,7 @@ bool mysql_delete(THD *thd, TABLE_LIST *table_list, COND *conds,
|
||||
{
|
||||
explain->tracker.on_record_read();
|
||||
if (table->vfield)
|
||||
update_virtual_fields(thd, table, VCOL_UPDATE_FOR_READ_WRITE);
|
||||
table->update_virtual_fields(VCOL_UPDATE_FOR_READ_WRITE);
|
||||
thd->inc_examined_row_count(1);
|
||||
// thd->is_error() is tested to disallow delete row on error
|
||||
if (!select || select->skip_record(thd) > 0)
|
||||
|
Reference in New Issue
Block a user