aboutsummaryrefslogtreecommitdiff
path: root/boost
diff options
context:
space:
mode:
Diffstat (limited to 'boost')
-rw-r--r--boost/common/smart-ptr/test.hxx2
-rw-r--r--boost/mysql/date-time/test.hxx8
2 files changed, 5 insertions, 5 deletions
diff --git a/boost/common/smart-ptr/test.hxx b/boost/common/smart-ptr/test.hxx
index ea158e7..575c2e2 100644
--- a/boost/common/smart-ptr/test.hxx
+++ b/boost/common/smart-ptr/test.hxx
@@ -33,7 +33,7 @@ struct cont
typedef std::vector<lazy_weak_ptr<obj> > obj_list;
- #pragma db inverse(c) not_null
+ #pragma db inverse(c) value_not_null
obj_list o;
};
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;