aboutsummaryrefslogtreecommitdiff
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
commitfaeb485ac1580cfa5e52876a9e8cb94960266703 (patch)
tree0b81722bb228d20f6369677bdb5aa15cc7899573
parentdd71d6d7fd665356469bdc27097887295c879bf9 (diff)
Fix undefined behavior (ubsan) bug
-rw-r--r--odb/mysql/query.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/odb/mysql/query.hxx b/odb/mysql/query.hxx
index ba5bac9..54f7e6f 100644
--- a/odb/mysql/query.hxx
+++ b/odb/mysql/query.hxx
@@ -148,7 +148,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 ()