aboutsummaryrefslogtreecommitdiff
path: root/odb/qt/date-time/mysql/qdate-traits.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2013-02-05 16:03:38 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2013-02-05 16:03:38 +0200
commit4503191a037be58e769613281f90efa5310e547e (patch)
tree47b9c65c609b1f78be32f9b0371afb79ed9b0694 /odb/qt/date-time/mysql/qdate-traits.hxx
parente93dcc2ecabee46d31aedf9f4ddc8058956c78ad (diff)
Initialize the sign member of MYSQL_TIME image
Diffstat (limited to 'odb/qt/date-time/mysql/qdate-traits.hxx')
-rw-r--r--odb/qt/date-time/mysql/qdate-traits.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/odb/qt/date-time/mysql/qdate-traits.hxx b/odb/qt/date-time/mysql/qdate-traits.hxx
index 716cc7f..d3dc1f1 100644
--- a/odb/qt/date-time/mysql/qdate-traits.hxx
+++ b/odb/qt/date-time/mysql/qdate-traits.hxx
@@ -47,6 +47,7 @@ namespace odb
else
{
is_null = false;
+ i.neg = false;
i.year = static_cast<unsigned int> (v.year ());
i.month = static_cast<unsigned int> (v.month ());