mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Some small changes in multi-table update "ported" from mulit-table
delete.
This commit is contained in:
@@ -521,10 +521,10 @@ multi_update::initialize_tables(JOIN *join)
|
|||||||
if (tab->table->map & tables_to_update_from)
|
if (tab->table->map & tables_to_update_from)
|
||||||
{
|
{
|
||||||
We are going to update from this table
|
We are going to update from this table
|
||||||
walk->table=tab->table;
|
TABLE *tbl=walk->table=tab->table;
|
||||||
walk=walk->next;
|
Don't use KEYREAD optimization on this table
|
||||||
if (tab == join->join_tab)
|
tbl->no_keyread=1;
|
||||||
tab->table->no_keyread=1;
|
walk=walk->next;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user