statements which weren't finalized by $dbh->disconnect().
Since version 3.6.0 of sqlite one can use the new sqlite3_next_stmt()
function to get all open statements and call sqlite3_finalize() on them.
This patch implements that behaviour.
Problem brought to my attention again by bernd@ at p2k8 and i had it in
my tree since then without any issues.
Testing and ok by bernd@ and pea@, thanks!
Bug filed upstream at http://rt.cpan.org/Public/Bug/Display.html?id=40383