diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2013-02-07 14:35:53 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2013-02-07 14:35:53 +0200 |
commit | 23419030f7fa4cc96d0a086a6af87e7ef2e2ed18 (patch) | |
tree | add0b4938ea3551de3f9d7a3a68e0dce06b643c5 /odb/boost/date-time/mysql/gregorian-traits.hxx | |
parent | eb11f097a6c68af3298f1d1b091725e5991dde36 (diff) |
Initialize second_part which apparently is used by MariaDB
Diffstat (limited to 'odb/boost/date-time/mysql/gregorian-traits.hxx')
-rw-r--r-- | odb/boost/date-time/mysql/gregorian-traits.hxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/odb/boost/date-time/mysql/gregorian-traits.hxx b/odb/boost/date-time/mysql/gregorian-traits.hxx index 0bbcb15..939fd29 100644 --- a/odb/boost/date-time/mysql/gregorian-traits.hxx +++ b/odb/boost/date-time/mysql/gregorian-traits.hxx @@ -51,6 +51,11 @@ namespace odb i.year = v.year (); i.month = v.month (); i.day = v.day (); + + i.hour = 0; + i.minute = 0; + i.second = 0; + i.second_part = 0; } } }; |