longi should be smalli in interbase.pp file
Original Reporter info from Mantis: norayr
-
Reporter name: Norayr Chilingarian
Original Reporter info from Mantis: norayr
- Reporter name: Norayr Chilingarian
Description:
In the source file fpc-2.4.2/packages/fcl-db/src/sqldb/interbase/interbase.pp, line 903
---
case SQLDA^.SQLVar[x].SQLLen of
2 : begin
Move(CurrBuff^, smalli, 2);
c := longi*intpower(10,SQLDA^.SQLVar[x].SQLScale);
---
should be
c := smalli*intpower(10,SQLDA^.SQLVar[x].SQLScale);