mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Merge branch '5.5' into 10.0
This commit is contained in:
@ -629,9 +629,7 @@ int mysql_update(THD *thd,
|
||||
while (!(error=info.read_record(&info)) && !thd->killed)
|
||||
{
|
||||
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);
|
||||
if (!select || (error= select->skip_record(thd)) > 0)
|
||||
{
|
||||
@ -744,9 +742,7 @@ int mysql_update(THD *thd,
|
||||
while (!(error=info.read_record(&info)) && !thd->killed)
|
||||
{
|
||||
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);
|
||||
if (!select || select->skip_record(thd) > 0)
|
||||
{
|
||||
@ -2399,8 +2395,7 @@ int multi_update::do_updates()
|
||||
if (table->default_field && (error= table->update_default_fields()))
|
||||
goto err2;
|
||||
if (table->vfield &&
|
||||
update_virtual_fields(thd, table,
|
||||
(table->triggers ? VCOL_UPDATE_ALL : VCOL_UPDATE_FOR_WRITE)))
|
||||
update_virtual_fields(thd, table, VCOL_UPDATE_FOR_WRITE))
|
||||
goto err2;
|
||||
if ((error= cur_table->view_check_option(thd, ignore)) !=
|
||||
VIEW_CHECK_OK)
|
||||
|
Reference in New Issue
Block a user