<br><br><div><span class="gmail_quote">On 10/3/06, <b class="gmail_sendername">Steven Mackenzie</b> &lt;<a href="mailto:dbix@aptile.co.uk">dbix@aptile.co.uk</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello,<br><br>DBD::SQLite::VERSION 1.12<br>DBIx::Class::VERSION 0.07001<br><br>I'm running a script to patch an error in my database. It loops over<br>each bad row and fixes it, and works fine, except that it requires me to
<br>have<br>$data-&gt;storage-&gt;disconnect();<br>at the end of it, otherwise I get this message:<br>Issuing rollback() for database handle being DESTROY'd without explicit<br>disconnect().</blockquote><div><br><br>Try setting AutoCommit =&gt; 1 instead of 0, I think your code will work correctly and it might get rid of that message.&nbsp; IIRC DBIC's transaction support doesn't depend on the state of AutoCommit, and AutoCommit =&gt; 1 will generally give you more &quot;expected&quot; behavior.
<br><br>-- Brandon<br></div><br></div>