summaryrefslogtreecommitdiff
path: root/sql/sql_update.cc
diff options
context:
space:
mode:
authorAlexey Kopytov <Alexey.Kopytov@Sun.com>2010-05-27 14:08:44 +0400
committerAlexey Kopytov <Alexey.Kopytov@Sun.com>2010-05-27 14:08:44 +0400
commita2e7f632cfb30dcf7338dbb78bb19f94d4201323 (patch)
tree74f527c3a5cc36fd085cb149e7fbef7e97c5af47 /sql/sql_update.cc
parent71e534542bfb6b2cc40909a8bb975fc7564998d0 (diff)
parent1d0acc7754a44613d2ad56dc2231f20a1bedf718 (diff)
downloadmariadb-git-a2e7f632cfb30dcf7338dbb78bb19f94d4201323.tar.gz
Automerge.
Diffstat (limited to 'sql/sql_update.cc')
-rw-r--r--sql/sql_update.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_update.cc b/sql/sql_update.cc
index 2a017a4a64c..fe6e0994959 100644
--- a/sql/sql_update.cc
+++ b/sql/sql_update.cc
@@ -408,7 +408,7 @@ int mysql_update(THD *thd,
matching rows before updating the table!
*/
if (used_index < MAX_KEY && old_covering_keys.is_set(used_index))
- table->mark_columns_used_by_index(used_index);
+ table->add_read_columns_used_by_index(used_index);
else
{
table->use_all_columns();