diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2013-02-05 16:03:38 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2013-02-05 16:03:38 +0200 |
commit | 4503191a037be58e769613281f90efa5310e547e (patch) | |
tree | 47b9c65c609b1f78be32f9b0371afb79ed9b0694 /odb/qt/date-time/mysql/qdate-time-traits.hxx | |
parent | e93dcc2ecabee46d31aedf9f4ddc8058956c78ad (diff) |
Initialize the sign member of MYSQL_TIME image
Diffstat (limited to 'odb/qt/date-time/mysql/qdate-time-traits.hxx')
-rw-r--r-- | odb/qt/date-time/mysql/qdate-time-traits.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/odb/qt/date-time/mysql/qdate-time-traits.hxx b/odb/qt/date-time/mysql/qdate-time-traits.hxx index 8e09251..ac4c1a6 100644 --- a/odb/qt/date-time/mysql/qdate-time-traits.hxx +++ b/odb/qt/date-time/mysql/qdate-time-traits.hxx @@ -50,6 +50,7 @@ namespace odb throw odb::qt::date_time::value_out_of_range (); is_null = false; + i.neg = false; const QDate& d (v.date ()); i.year = static_cast<unsigned int> (d.year ()); @@ -99,6 +100,7 @@ namespace odb throw odb::qt::date_time::value_out_of_range (); is_null = false; + i.neg = false; const QDate& d (v.date ()); i.year = static_cast<unsigned int> (d.year ()); |