aboutsummaryrefslogtreecommitdiff
path: root/qt/oracle/date-time/driver.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2012-06-27 14:55:47 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2012-06-27 14:55:47 +0200
commit5e98aad4b067ece803b75cae7f538565da8661c8 (patch)
tree92bdf22c225e22622dd26c5903da4859155c418e /qt/oracle/date-time/driver.cxx
parent40e8a72ebd1a8bb475b3bb25f23d8c205dadeb06 (diff)
Add support for mapping posix_time::ptime and QDateTime to DATE Oracle type
Diffstat (limited to 'qt/oracle/date-time/driver.cxx')
-rw-r--r--qt/oracle/date-time/driver.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/qt/oracle/date-time/driver.cxx b/qt/oracle/date-time/driver.cxx
index 5b3b51a..20fe9db 100644
--- a/qt/oracle/date-time/driver.cxx
+++ b/qt/oracle/date-time/driver.cxx
@@ -56,6 +56,7 @@ main (int argc, char* argv[])
o.date = t.date ();
o.date_time = t;
+ o.date_time_d = QDateTime (QDate (2012, 6, 27), QTime (14, 17, 05, 0));
o.time = t.time ();
{