mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
MDEV-4123 fix.
Missed update_used_tables() call for multi-update values.
This commit is contained in:
@@ -1473,6 +1473,15 @@ int multi_update::prepare(List<Item> ¬_used_values,
|
||||
DBUG_RETURN(thd->is_fatal_error != 0);
|
||||
}
|
||||
|
||||
void multi_update::update_used_tables()
|
||||
{
|
||||
Item *item;
|
||||
List_iterator_fast<Item> it(*values);
|
||||
while ((item= it++))
|
||||
{
|
||||
item->update_used_tables();
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
Check if table is safe to update on fly
|
||||
|
Reference in New Issue
Block a user