mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
MDEV-16974 Application-time periods: UPDATE
This commit is contained in:
committed by
Sergei Golubchik
parent
47e28a94d5
commit
b2bd52290a
@ -842,9 +842,11 @@ bool mysql_delete(THD *thd, TABLE_LIST *table_list, COND *conds,
|
||||
{
|
||||
error= table->delete_row();
|
||||
|
||||
ha_rows rows_inserted;
|
||||
if (likely(!error) && table_list->has_period()
|
||||
&& !portion_of_time_through_update)
|
||||
error= table->insert_portion_of_time(thd, table_list->period_conditions);
|
||||
error= table->insert_portion_of_time(thd, table_list->period_conditions,
|
||||
&rows_inserted);
|
||||
}
|
||||
|
||||
if (likely(!error))
|
||||
|
Reference in New Issue
Block a user