aboutsummaryrefslogtreecommitdiff
path: root/mysql
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2010-08-13 13:45:19 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2010-08-13 13:45:19 +0200
commit1e75d3970354325d8bfc943dc293cef78f58fbf2 (patch)
tree8890976c46771497811aceff5615e557ba0fdf62 /mysql
parent466dbfe2a99cd40c0d60e00ed5f05c862a8b41b1 (diff)
Fix operator precedence
Diffstat (limited to 'mysql')
-rw-r--r--mysql/types/test.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysql/types/test.hxx b/mysql/types/test.hxx
index 7f2ce4d..f156506 100644
--- a/mysql/types/test.hxx
+++ b/mysql/types/test.hxx
@@ -328,7 +328,7 @@ struct object
bit_ == y.bit_ &&
enum_ == y.enum_ &&
set_ == y.set_ &&
- null_.get () == 0 && y.null_.get () == 0 || *null_ == *y.null_;
+ ((null_.get () == 0 && y.null_.get () == 0) || *null_ == *y.null_);
}
};