Commit 0ea0993c authored by unknown's avatar unknown

Some small changes in multi-table update "ported" from mulit-table

delete.

parent 664b219a
...@@ -521,10 +521,10 @@ multi_update::initialize_tables(JOIN *join) ...@@ -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;
} }
} }
*/ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment