mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-16 00:42:06 +02:00
* Rollback in try..except
git-svn-id: trunk@28455 -
This commit is contained in:
parent
c668e4d724
commit
81ab999a89
@ -141,7 +141,10 @@ begin
|
||||
On E : exception do
|
||||
begin
|
||||
FreeAndNil(Res);
|
||||
Connection.Transaction.RollBack;
|
||||
Try
|
||||
Connection.Transaction.RollBack;
|
||||
except
|
||||
end;
|
||||
if not Silent then
|
||||
Verbose(V_WARNING,'Query : '+Qry+'Failed : '+E.Message);
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user