mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-07 01:57:57 +02:00
* Rollback on exception
This commit is contained in:
parent
d298e33dfc
commit
763997cdf6
@ -201,6 +201,7 @@ begin
|
||||
Result.UniDirectional:=True;
|
||||
Result.Open;
|
||||
except
|
||||
Result.Transaction.RollBack;
|
||||
Result.Free;
|
||||
Raise;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user