<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></head><body dir="auto"><div dir="auto">Hi Bo,</div><div dir="auto"><br></div><div dir="auto">Thanks for having spotted that.  I'll commit it when I come back from holidays.</div><div dir="auto"><br></div><div dir="auto">I see in the DBI changelog that RaiseError has been applying to connect() since version 0.91 released in 1997.  We can safely rely on it.</div><div dir="auto"><br></div><div dir="auto">Happy olympic summer to all!</div><div dir="auto"><br></div><div id="composer_signature" dir="auto">-- <div dir="auto">Julien</div></div><div><br></div><div dir="auto" style="font-size:100%;color:#000000"></div><div style="font-size:100%;color:#000000" dir="auto"></div><div align="left" dir="auto" style="font-size:100%;color:#000000"><div>-------- Message d'origine --------</div><div>De : Bo Lindbergh <2bfjdsla52kztwejndzdstsxl9athp@gmail.com> </div><div>Date : 29/07/2024  13:09  (GMT+01:00) </div><div>À : inn-workers@lists.isc.org </div><div>Objet : Some ovsqlite-util polish </div><div><br></div></div>
<div class="BodyFragment"><font size="2"><span style="font-size:10pt;">
<div class="PlainText">It doesn't seem to be explicitly stated in the DBI documentation,<br>
but the RaiseError attribute passed to the connect method applies<br>
to that method call itself as well as to future method calls<br>
on the returned database handle.  So, with RaiseError => 1,<br>
there's no need to check the return value.  Patch attached.<br>
<br>
/Bo Lindbergh<br>
</div>
</span></font></div>
<div class="BodyFragment"><font size="2"><span style="font-size:10pt;">
<div class="PlainText">-- <br>
inn-workers mailing list<br>
inn-workers@lists.isc.org<br>
<a href="https://lists.isc.org/mailman/listinfo/inn-workers">https://lists.isc.org/mailman/listinfo/inn-workers</a><br>
</div>
</span></font></div>


</body></html>