mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-11 16:48:12 +02:00
fcl-db: tests: Add MS SQL Server to list of servers, which do not support TIME data type >= '24:00:00'
git-svn-id: trunk@27522 -
This commit is contained in:
parent
d9dab6f2f1
commit
c8ecf2eecd
@ -366,11 +366,11 @@ 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, ssOracle] then
|
||||
if SQLServerType in [ssFirebird, ssInterbase, ssMSSQL, ssOracle] then
|
||||
begin
|
||||
// Firebird, Oracle do not support time = 24:00:00
|
||||
testTimeValues[2]:='23:00:00.000';
|
||||
testValues[ftTime,2]:='23:00:00.000';
|
||||
// Firebird, Oracle, MS SQL Server do not support time = 24:00:00
|
||||
testTimeValues[2]:='23:59:59.999';
|
||||
testValues[ftTime,2]:='23:59:59.999';
|
||||
end;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user