aboutsummaryrefslogtreecommitdiff
path: root/odb/boost/date-time/mysql/gregorian-mapping.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/boost/date-time/mysql/gregorian-mapping.hxx')
-rw-r--r--odb/boost/date-time/mysql/gregorian-mapping.hxx2
1 files changed, 1 insertions, 1 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