diff options
author | unknown <Sinisa@sinisa.nasamreza.org> | 2002-06-13 17:08:27 +0300 |
---|---|---|
committer | unknown <Sinisa@sinisa.nasamreza.org> | 2002-06-13 17:08:27 +0300 |
commit | 0ea0993cfb64feab7b603479fc1f2a1342381bb8 (patch) | |
tree | c8cc016c4dfb6f73365828b1eb2ab7e3fab1b099 | |
parent | 664b219a722190dbb67a37d7718e21e57f479845 (diff) | |
download | mariadb-git-0ea0993cfb64feab7b603479fc1f2a1342381bb8.tar.gz |
Some small changes in multi-table update "ported" from mulit-table
delete.
-rw-r--r-- | sql/sql_update.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sql/sql_update.cc b/sql/sql_update.cc index b4216adc2cd..91e464c376e 100644 --- a/sql/sql_update.cc +++ b/sql/sql_update.cc @@ -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; } } */ |