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)
|
||||
{
|
||||
We are going to update from this table
|
||||
walk->table=tab->table;
|
||||
walk=walk->next;
|
||||
if (tab == join->join_tab)
|
||||
tab->table->no_keyread=1;
|
||||
TABLE *tbl=walk->table=tab->table;
|
||||
Don't use KEYREAD optimization on this table
|
||||
tbl->no_keyread=1;
|
||||
walk=walk->next;
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
Reference in New Issue
Block a user