* Merging revisions 42041 from trunk:

------------------------------------------------------------------------
    r42041 | michael | 2019-05-12 09:54:02 +0200 (Sun, 12 May 2019) | 1 line
    
    * Add largeint (int64) parameter supportby Silvio Clecio (bug ID 35554)
    ------------------------------------------------------------------------

git-svn-id: branches/fixes_3_2@42444 -
This commit is contained in:
michael 2019-07-14 08:55:17 +00:00
parent d0ff90ff06
commit fc89dc3cb1

View File

@ -1,7 +1,7 @@
unit oracleconnection;
{
Copyright (c) 2006-2014 by Joost van der Sluis, FPC contributors
Copyright (c) 2006-2019 by Joost van der Sluis, FPC contributors
Oracle RDBMS connector using the OCI protocol
@ -358,6 +358,7 @@ begin
case DataType of
ftInteger : AsInteger := PInteger(ParamBuffers[i].buffer)^;
ftLargeint : AsLargeInt := PInt64(ParamBuffers[i].buffer)^;
ftFloat : AsFloat := PDouble(ParamBuffers[i].buffer)^;
ftString : begin
SetLength(s,ParamBuffers[i].Len);