aboutsummaryrefslogtreecommitdiff
path: root/odb/boost/date-time/mysql/gregorian-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
commitfa7c954409d6fa27440d965797f14c6c01397aee (patch)
treec73b05c1743891181fb9eaf3d8a1fc49b3819ce4 /odb/boost/date-time/mysql/gregorian-traits.hxx
parent1b88d6afa7839d087e5fc252195c5c4f60475e9f (diff)
Initialize the sign member of MYSQL_TIME image
Diffstat (limited to 'odb/boost/date-time/mysql/gregorian-traits.hxx')
-rw-r--r--odb/boost/date-time/mysql/gregorian-traits.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/odb/boost/date-time/mysql/gregorian-traits.hxx b/odb/boost/date-time/mysql/gregorian-traits.hxx
index e741fab..0bbcb15 100644
--- a/odb/boost/date-time/mysql/gregorian-traits.hxx
+++ b/odb/boost/date-time/mysql/gregorian-traits.hxx
@@ -47,6 +47,7 @@ namespace odb
else
{
is_null = false;
+ i.neg = false;
i.year = v.year ();
i.month = v.month ();
i.day = v.day ();