<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p><br>
</p>
<div class="moz-cite-prefix">Le 28/11/2024 à 15:10, Laurențiu Nicola
via gdal-dev a écrit :<br>
</div>
<blockquote type="cite"
cite="mid:2da4c03d-334e-412c-a1fa-c426cc366b03@betaapp.fastmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title></title>
<style type="text/css">p.MsoNormal,p.MsoNoSpacing{margin:0}</style>
<div style="font-family:Arial;">Hi,<br>
</div>
<div style="font-family:Arial;"><br>
</div>
<div style="font-family:Arial;">Is there any advantage in trying
to roll back a transaction that failed to commit? Will it leave
the dataset in a "more usable" state than not doing anything?<br>
</div>
</blockquote>
If you intend to do transactions that may succeed afterwards, you
will need to explicitly RollbackTransaction() to make drivers happy
about the balancing of operations. This is similar to the expected
use of BEGIN / COMMIT / ROLLBACK by SQL engines (at least just tried
with PostgreSQL which requires an explicit ROLLBACK after a failure
in a transaction to recover from it)<br>
<blockquote type="cite"
cite="mid:2da4c03d-334e-412c-a1fa-c426cc366b03@betaapp.fastmail.com">
<div style="font-family:Arial;"><br>
</div>
<div style="font-family:Arial;">Thanks,<br>
</div>
<div style="font-family:Arial;">Laurentiu<br>
</div>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
gdal-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/gdal-dev">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">--
<a class="moz-txt-link-freetext" href="http://www.spatialys.com">http://www.spatialys.com</a>
My software is free, but my time generally not.
Butcher of all kinds of standards, open or closed formats. At the end, this is just about bytes.</pre>
</body>
</html>