summaryrefslogtreecommitdiff
path: root/sql/sql_update.cc
diff options
context:
space:
mode:
authorStaale Smedseng <staale.smedseng@sun.com>2009-06-10 16:04:07 +0200
committerStaale Smedseng <staale.smedseng@sun.com>2009-06-10 16:04:07 +0200
commite6e1f4ac845568a1ea18744189ed393dfc9baaf6 (patch)
treeac0c8cc9c36841305e8b1568add202c95b44a9fa /sql/sql_update.cc
parentdae006c17fe4962c1f79060a10a1dc80dc07bf03 (diff)
downloadmariadb-git-e6e1f4ac845568a1ea18744189ed393dfc9baaf6.tar.gz
Bug #43414 Parenthesis (and other) warnings compiling MySQL
with gcc 4.3.2 Compiling MySQL with gcc 4.3.2 and later produces a number of warnings, many of which are new with the recent compiler versions. This bug will be resolved in more than one patch to limit the size of changesets. This is the second patch, fixing more of the warnings.
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 69f876ace39..481fe30c6e7 100644
--- a/sql/sql_update.cc
+++ b/sql/sql_update.cc
@@ -1532,7 +1532,7 @@ void multi_update::send_error(uint errcode,const char *err)
/* the error was handled or nothing deleted and no side effects return */
if (error_handled ||
- !thd->transaction.stmt.modified_non_trans_table && !updated)
+ (!thd->transaction.stmt.modified_non_trans_table && !updated))
return;
/* Something already updated so we have to invalidate cache */