mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-14 12:09:30 +02:00
* changed SQLScale compare in TranslateFldType from a set compare to a real integer compare
This commit is contained in:
parent
41e0b1a0a7
commit
c087b23a91
@ -298,7 +298,7 @@ procedure TIBConnection.TranslateFldType(SQLType, SQLLen, SQLScale : integer; va
|
||||
begin
|
||||
LensSet := False;
|
||||
|
||||
if SQLScale in [-4..-1] then
|
||||
if (SQLScale >= -4) and (SQLScale <= -1) then //in [-4..-1] then
|
||||
begin
|
||||
LensSet := True;
|
||||
TrLen := SQLScale;
|
||||
|
Loading…
Reference in New Issue
Block a user