diff options
Diffstat (limited to 'boost/mysql/date-time/test.hxx')
-rw-r--r-- | boost/mysql/date-time/test.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/boost/mysql/date-time/test.hxx b/boost/mysql/date-time/test.hxx index 235607f..b84bf0f 100644 --- a/boost/mysql/date-time/test.hxx +++ b/boost/mysql/date-time/test.hxx @@ -37,11 +37,11 @@ struct object std::vector<boost::gregorian::date> dates; std::vector<boost::posix_time::ptime> times; - // Specify NULL explicitly to suppress auto-initialization and - // auto-update characteristics of TIMESTAMP datatype, and to allow - // NULL values. + // Make timestamp NULL-able to suppress the auto-initialization and + // auto-update characteristics of the TIMESTAMP datatype, and to + // allow NULL values. // - #pragma db value_type ("TIMESTAMP NULL") + #pragma db value_type ("TIMESTAMP") value_null std::vector<boost::posix_time::ptime> timestamps; std::vector<boost::posix_time::time_duration> durations; |