ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/public/ibx/trunk/fbintf/client/FBStatement.pas
(Generate patch)

Comparing ibx/trunk/fbintf/client/FBStatement.pas (file contents):
Revision 270 by tony, Fri Jan 18 11:10:37 2019 UTC vs.
Revision 315 by tony, Thu Feb 25 11:56:36 2021 UTC

# Line 49 | Line 49 | type
49  
50    { TFBStatement }
51  
52 <  TFBStatement = class(TActivityReporter)
52 >  TFBStatement = class(TActivityReporter,ITransactionUser)
53    private
54      FAttachmentIntf: IAttachment;
55      FFirebirdClientAPI: TFBClientAPI;
# Line 183 | Line 183 | end;
183   procedure TFBStatement.TransactionEnding(aTransaction: ITransaction;
184    Force: boolean);
185   begin
186 <  if FOpen and (FExecTransactionIntf = aTransaction) then
186 >  if FOpen and ((FExecTransactionIntf as TObject) = (aTransaction as TObject)) then
187      InternalClose(Force);
188  
189    if FTransactionIntf = aTransaction then

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines