diff options
Diffstat (limited to 'sql/sql_update.cc')
-rw-r--r-- | sql/sql_update.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/sql_update.cc b/sql/sql_update.cc index 476d1a4e104..c46b80f798b 100644 --- a/sql/sql_update.cc +++ b/sql/sql_update.cc @@ -2403,7 +2403,8 @@ int multi_update::do_updates() field_num++; } while ((tbl= check_opt_it++)); - if (table->vfield && table->update_virtual_fields(VCOL_UPDATE_INDEXED)) + if (table->vfield && + table->update_virtual_fields(VCOL_UPDATE_INDEXED_FOR_UPDATE)) goto err2; table->status|= STATUS_UPDATED; |