mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 11:09:27 +02:00
* Mark transaction as closed in caNone case of EndTranscation
git-svn-id: trunk@25251 -
This commit is contained in:
parent
75362b0bb8
commit
b1c111b423
@ -1248,7 +1248,8 @@ procedure TSQLTransaction.EndTransaction;
|
||||
|
||||
begin
|
||||
Case Action of
|
||||
caNone : ;
|
||||
caNone :
|
||||
CloseTrans;
|
||||
caCommit :
|
||||
Commit;
|
||||
caCommitRetaining :
|
||||
@ -1350,6 +1351,7 @@ end;
|
||||
destructor TSQLTransaction.Destroy;
|
||||
begin
|
||||
EndTransaction;
|
||||
FreeAndNil(FTrans);
|
||||
FreeAndNil(FParams);
|
||||
inherited Destroy;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user