mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-14 17:09:10 +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
|
On E : exception do
|
||||||
begin
|
begin
|
||||||
FreeAndNil(Res);
|
FreeAndNil(Res);
|
||||||
Connection.Transaction.RollBack;
|
Try
|
||||||
|
Connection.Transaction.RollBack;
|
||||||
|
except
|
||||||
|
end;
|
||||||
if not Silent then
|
if not Silent then
|
||||||
Verbose(V_WARNING,'Query : '+Qry+'Failed : '+E.Message);
|
Verbose(V_WARNING,'Query : '+Qry+'Failed : '+E.Message);
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user