mirror of
https://github.com/MariaDB/server.git
synced 2026-05-04 06:05:32 +02:00
MDEV-4123 fix.
Missed update_used_tables() call for multi-update values.
This commit is contained in:
parent
0b2dc3fc59
commit
3f36dfe38c
5 changed files with 111 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue