49 |
|
|
50 |
|
{ TFBStatement } |
51 |
|
|
52 |
< |
TFBStatement = class(TActivityReporter) |
52 |
> |
TFBStatement = class(TActivityReporter,ITransactionUser) |
53 |
|
private |
54 |
|
FAttachmentIntf: IAttachment; |
55 |
|
FFirebirdClientAPI: TFBClientAPI; |
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 |