mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-19 20:19:25 +02:00
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:
parent
2d8ea638b3
commit
f3b7a7ad2e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user