diff options
author | svoj@may.pils.ru <> | 2006-06-19 16:06:29 +0500 |
---|---|---|
committer | svoj@may.pils.ru <> | 2006-06-19 16:06:29 +0500 |
commit | 6a90aede13a2f465d151624a33b5a21edf770008 (patch) | |
tree | d0a4b8a592a8bf4afe9b3894d84f2dd22e642579 /sql/sql_update.cc | |
parent | 92b4a73a203af73788a858cd26efe3ac183615cb (diff) | |
parent | 737e166403d7e92c2c32eb6ad6a9ee0da207e4a2 (diff) | |
download | mariadb-git-6a90aede13a2f465d151624a33b5a21edf770008.tar.gz |
Merge may.pils.ru:/home/svoj/devel/mysql/BUG18036/mysql-4.1
into may.pils.ru:/home/svoj/devel/mysql/BUG18036/mysql-5.0
Diffstat (limited to 'sql/sql_update.cc')
-rw-r--r-- | sql/sql_update.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_update.cc b/sql/sql_update.cc index b4ae779f9e2..9c5e98f4424 100644 --- a/sql/sql_update.cc +++ b/sql/sql_update.cc @@ -1038,7 +1038,7 @@ int multi_update::prepare(List<Item> ¬_used_values, for (table_ref= leaves; table_ref; table_ref= table_ref->next_leaf) { TABLE *table=table_ref->table; - if (!(tables_to_update & table->map) && + if ((tables_to_update & table->map) && unique_table(thd, table_ref, update_tables)) table->no_cache= 1; // Disable row cache } |