mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-19 23:19:24 +02:00
* use NULLHANDLE instead of NIL, since exact typing of handle type is unknown
(ptr or integer iow nil or 0) git-svn-id: trunk@20614 -
This commit is contained in:
parent
981ebb4778
commit
14f9e3542d
@ -791,7 +791,7 @@ var ParNr,SQLVarNr : integer;
|
||||
with cursor as TIBCursor do
|
||||
begin
|
||||
TransactionHandle := aTransation.Handle;
|
||||
blobhandle := nil;
|
||||
blobhandle := FB_API_NULLHANDLE;
|
||||
if isc_create_blob(@FStatus[0], @FSQLDatabaseHandle, @TransactionHandle, @blobHandle, @blobId) <> 0 then
|
||||
CheckError('TIBConnection.CreateBlobStream', FStatus);
|
||||
|
||||
@ -1269,7 +1269,7 @@ begin
|
||||
blobId := PISC_QUAD(@(ABlobBuf^.ConnBlobBuffer));
|
||||
|
||||
TransactionHandle := Atransaction.Handle;
|
||||
blobHandle := nil;
|
||||
blobHandle := FB_API_NULLHANDLE;
|
||||
|
||||
if isc_open_blob(@FStatus[0], @FSQLDatabaseHandle, @TransactionHandle, @blobHandle, blobId) <> 0 then
|
||||
CheckError('TIBConnection.CreateBlobStream', FStatus);
|
||||
|
Loading…
Reference in New Issue
Block a user