summaryrefslogtreecommitdiff
path: root/sql/sql_update.cc
diff options
context:
space:
mode:
authorAnnamalai Gurusami <annamalai.gurusami@oracle.com>2012-10-09 12:25:02 +0530
committerAnnamalai Gurusami <annamalai.gurusami@oracle.com>2012-10-09 12:25:02 +0530
commit1997639261cbefea49d6d784011bfafbbffb5ac4 (patch)
treedb38c220f05f24ae903361d4146cb624b0e5b18c /sql/sql_update.cc
parent280e3e41a11d1d158ae855a68cfb5298afa76dcd (diff)
downloadmariadb-git-1997639261cbefea49d6d784011bfafbbffb5ac4.tar.gz
Fixing a compilation issue.
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 222b3d9470a..e7600fe248e 100644
--- a/sql/sql_update.cc
+++ b/sql/sql_update.cc
@@ -2038,7 +2038,7 @@ int multi_update::do_updates()
org_updated= updated;
tmp_table= tmp_tables[cur_table->shared];
tmp_table->file->extra(HA_EXTRA_CACHE); // Change to read cache
- if (local_error= table->file->ha_rnd_init(0))
+ if ((local_error= table->file->ha_rnd_init(0)))
goto err;
table->file->extra(HA_EXTRA_NO_CACHE);