From 8c4f0afcc7f2db3c0696aa1edac1270c4bffbec7 Mon Sep 17 00:00:00 2001 From: Constantin Michael Date: Thu, 10 Nov 2011 13:06:19 +0200 Subject: Oracle INTERVAL hours field valid range is 0-23 --- oracle/types/driver.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'oracle') diff --git a/oracle/types/driver.cxx b/oracle/types/driver.cxx index 994885f..b786cec 100644 --- a/oracle/types/driver.cxx +++ b/oracle/types/driver.cxx @@ -45,7 +45,7 @@ main (int argc, char* argv[]) o.date_ = date_time (2010, 8, 29, 15, 33, 18, 0); o.timestamp_ = date_time (1996, 3, 9, 18, 2, 54, 123000); - o.interval_ds_ = time_interval (0, 0, 13, 43, 23, 19, 123000); + o.interval_ds_ = time_interval (0, 0, 13, 15, 23, 19, 123000); o.interval_ym_ = time_interval (12, 3, 0, 0, 0, 0, 0); string vshort_str (8, 's'); -- cgit v1.1