<!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 06/02/2025 à 12:30, Deyan Vasilev a
écrit :<br>
</div>
<blockquote type="cite"
cite="mid:CAPULynXFfJmeiNASSKYpVh-s0bosRJT4CKVEqUQ3qHM2JA5W4g@mail.gmail.com">
<pre class="moz-quote-pre" wrap="">Hello,
it may be needed for sure for the whole session or at least if you
need the already registered extension to be available at the next db
open attempt.
A deeper look in sqlite3 gave me the sqlite3_shutdown() API that
actually frees the extension attached via
sqlite3_reset_auto_extension() together with various other sqlite3
stuff. I do not see GDAL to call sqlite3_shutdown() anywhere and I
think it is quite reasonable to do it in some GDAL sqlite driver
finalization steps - in the OGRSQLiteBaseDataSource destructor, in the
Close() method after closing db, etc.</pre>
</blockquote>
<p>GDAL is just a library. It may be integrated in an application
that would use sqlite3 itself, and GDAL calling
sqlite3_shutdown(), could case chaos in the application.</p>
<span style="white-space: pre-wrap">
</span>
<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.</pre>
</body>
</html>