mirror of
https://github.com/MariaDB/server.git
synced 2026-05-02 13:15:32 +02:00
MDEV-9093 Persistent computed column is not updated when update query contains join
added lost virtual fields update call
This commit is contained in:
parent
a3d843d949
commit
9f3b53fb4a
4 changed files with 85 additions and 0 deletions
|
|
@ -2234,6 +2234,12 @@ int multi_update::do_updates()
|
|||
if (!can_compare_record || compare_record(table))
|
||||
{
|
||||
int error;
|
||||
if (table->vfield &&
|
||||
update_virtual_fields(thd, table,
|
||||
(table->triggers ?
|
||||
VCOL_UPDATE_ALL :
|
||||
VCOL_UPDATE_FOR_WRITE)))
|
||||
goto err2;
|
||||
if ((error= cur_table->view_check_option(thd, ignore)) !=
|
||||
VIEW_CHECK_OK)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue