fcl-db: dbtestframework, Oracle:

* Fix for Oracle can't handle time hours > 23:
ORA-01850: hour must be between 0 and 23

git-svn-id: trunk@26901 -
This commit is contained in:
reiniero 2014-02-27 16:59:39 +00:00
parent 2d8ea638b3
commit f3b7a7ad2e

View File

@ -290,14 +290,14 @@ begin
end;
end;
if SQLServerType in [ssFirebird, ssInterbase, ssMSSQL, ssPostgreSQL, ssSybase] then
if SQLServerType in [ssFirebird, ssInterbase, ssMSSQL, ssOracle, ssPostgreSQL, ssSybase] then
begin
// Some db's do not support times > 24:00:00
testTimeValues[3]:='13:25:15.000';
testValues[ftTime,3]:='13:25:15.000';
if SQLServerType in [ssFirebird, ssInterbase] then
if SQLServerType in [ssFirebird, ssInterbase, ssOracle] then
begin
// Firebird does not support time = 24:00:00
// Firebird, Oracle do not support time = 24:00:00
testTimeValues[2]:='23:00:00.000';
testValues[ftTime,2]:='23:00:00.000';
end;