aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConstantin Michael <constantin@codesynthesis.com>2011-11-10 13:06:19 +0200
committerConstantin Michael <constantin@codesynthesis.com>2011-11-10 16:37:03 +0200
commit8c4f0afcc7f2db3c0696aa1edac1270c4bffbec7 (patch)
tree0cd5daa4c60648024f57ea82fb2888c9900672d6
parent8fcd54e0011cf336b9e11a8c1264e19fcad861d9 (diff)
Oracle INTERVAL hours field valid range is 0-23
-rw-r--r--oracle/types/driver.cxx2
1 files changed, 1 insertions, 1 deletions
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');