mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
SQL: fix for lost code in debug macros
This commit is contained in:
committed by
Aleksey Midenkov
parent
d8c8d7b946
commit
bd0b21d22c
@ -763,11 +763,8 @@ int mysql_update(THD *thd,
|
||||
TRG_EVENT_UPDATE))
|
||||
break; /* purecov: inspected */
|
||||
|
||||
if (table->versioned() && table->vers_update_fields())
|
||||
{
|
||||
error= 1;
|
||||
break;
|
||||
}
|
||||
if (table->versioned())
|
||||
table->vers_update_fields();
|
||||
|
||||
found++;
|
||||
|
||||
@ -2173,12 +2170,8 @@ int multi_update::send_data(List<Item> ¬_used_values)
|
||||
if (table->default_field && table->update_default_fields(1, ignore))
|
||||
DBUG_RETURN(1);
|
||||
|
||||
if (table->versioned() &&
|
||||
table->vers_update_fields())
|
||||
{
|
||||
error= 1;
|
||||
break;
|
||||
}
|
||||
if (table->versioned())
|
||||
table->vers_update_fields();
|
||||
|
||||
if ((error= cur_table->view_check_option(thd, ignore)) !=
|
||||
VIEW_CHECK_OK)
|
||||
@ -2514,11 +2507,8 @@ int multi_update::do_updates()
|
||||
goto err2;
|
||||
}
|
||||
}
|
||||
if (table->versioned() &&
|
||||
table->vers_update_fields())
|
||||
{
|
||||
goto err2;
|
||||
}
|
||||
if (table->versioned())
|
||||
table->vers_update_fields();
|
||||
|
||||
if ((local_error=table->file->ha_update_row(table->record[1],
|
||||
table->record[0])) &&
|
||||
|
Reference in New Issue
Block a user