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
commitd5d53d190293af440f6a7d116df63c21fa391bd1 (patch)
treedb38c220f05f24ae903361d4146cb624b0e5b18c /sql/sql_update.cc
parent35a05a600868cf73166d78b8ce4396cf5d4c5951 (diff)
downloadmariadb-git-d5d53d190293af440f6a7d116df63c21fa391bd1.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);