aboutsummaryrefslogtreecommitdiff
path: root/odb
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-01-02 15:19:10 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-01-02 15:19:10 +0200
commitd35b7a946675243689629702951ae932b86eacf9 (patch)
treec9a77639f08527b820d39132a928c11a2a94e5be /odb
parent3fabadb2e5a4e32c6c6f348c7a523aad4b1f49b2 (diff)
Fix undefined behavior (ubsan) bug
Diffstat (limited to 'odb')
-rw-r--r--odb/oracle/query.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/odb/oracle/query.hxx b/odb/oracle/query.hxx
index 89a17bd..6f37339 100644
--- a/odb/oracle/query.hxx
+++ b/odb/oracle/query.hxx
@@ -181,7 +181,7 @@ namespace odb
kind_type kind;
std::string part; // If kind is param, then part is conversion expr.
- bool bool_part;
+ bool bool_part = false;
};
query_base ()