diff options
Diffstat (limited to 'odb/boost/date-time/mysql')
-rw-r--r-- | odb/boost/date-time/mysql/gregorian-mapping.hxx | 2 | ||||
-rw-r--r-- | odb/boost/date-time/mysql/posix-time-mapping.hxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/odb/boost/date-time/mysql/gregorian-mapping.hxx b/odb/boost/date-time/mysql/gregorian-mapping.hxx index 3ebe5e3..7816b9c 100644 --- a/odb/boost/date-time/mysql/gregorian-mapping.hxx +++ b/odb/boost/date-time/mysql/gregorian-mapping.hxx @@ -12,6 +12,6 @@ // By default map boost::gregorian::date to MySQL DATE. We use the // NULL value to represent not_a_date_time. // -#pragma db value(boost::gregorian::date) type("DATE") +#pragma db value(boost::gregorian::date) type("DATE") null #endif // ODB_BOOST_DATE_TIME_MYSQL_GREGORIAN_MAPPING_HXX diff --git a/odb/boost/date-time/mysql/posix-time-mapping.hxx b/odb/boost/date-time/mysql/posix-time-mapping.hxx index 257d391..8d083ca 100644 --- a/odb/boost/date-time/mysql/posix-time-mapping.hxx +++ b/odb/boost/date-time/mysql/posix-time-mapping.hxx @@ -11,11 +11,11 @@ // By default map boost::posix_time::ptime to MySQL DATETIME. We use // the NULL value to represent not_a_date_time. // -#pragma db value(boost::posix_time::ptime) type("DATETIME") +#pragma db value(boost::posix_time::ptime) type("DATETIME") null // By default map boost::posix_time::time_duration to MySQL TIME. We // use the NULL value to represent not_a_date_time. // -#pragma db value(boost::posix_time::time_duration) type("TIME") +#pragma db value(boost::posix_time::time_duration) type("TIME") null #endif // ODB_BOOST_DATE_TIME_MYSQL_POSIX_TIME_MAPPING_HXX |