mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 18:09:30 +02:00
fcl-db: tests: as MS SQL Server does not support for datetime times beyond 23:59:59.997 use this value instead of 23:59:59.999 introduced in rev.27522
git-svn-id: trunk@27640 -
This commit is contained in:
parent
f767d9017c
commit
2be706dbb0
@ -369,8 +369,9 @@ begin
|
||||
if SQLServerType in [ssFirebird, ssInterbase, ssMSSQL, ssOracle] then
|
||||
begin
|
||||
// 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';
|
||||
// MS SQL Server "datetime" supports only time up to 23:59:59.997
|
||||
testTimeValues[2]:='23:59:59.997';
|
||||
testValues[ftTime,2]:='23:59:59.997';
|
||||
end;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user