aboutsummaryrefslogtreecommitdiff
path: root/boost/oracle/date-time/test.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'boost/oracle/date-time/test.hxx')
-rw-r--r--boost/oracle/date-time/test.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/boost/oracle/date-time/test.hxx b/boost/oracle/date-time/test.hxx
index 9699c5d..e7afe8f 100644
--- a/boost/oracle/date-time/test.hxx
+++ b/boost/oracle/date-time/test.hxx
@@ -26,6 +26,7 @@ struct object
id == x.id &&
dates == x.dates &&
times == x.times &&
+ times_d == x.times_d &&
durations == x.durations;
}
@@ -34,6 +35,8 @@ struct object
std::vector<boost::gregorian::date> dates;
std::vector<boost::posix_time::ptime> times;
+ #pragma db value_type("DATE")
+ std::vector<boost::posix_time::ptime> times_d;
std::vector<boost::posix_time::time_duration> durations;
};