Skip Menu |

This queue is for tickets about the DBD-SQLite CPAN distribution.

Report information
The Basics
Id: 36651
Status: resolved
Priority: 0/
Queue: DBD-SQLite

People
Owner: Nobody in particular
Requestors: aaron [...] caida.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Bug involving "closing dbh with active statement handles"
Date: Wed, 11 Jun 2008 09:31:31 -0700 (PDT)
To: bug-DBD-SQLite [...] rt.cpan.org
From: Aaron Hieber <aaron [...] caida.org>
I'm using the DBD::SQLite database driver, and for some reason it keeps giving me the error message "closing dbh with active statement handles". However, I'm calling finish on the only statement handle in the program (its a simple test script) and calling $dbh->commit before trying to disconnect. However, I notice that if I enclose the statement handle in curly braces so it goes out of scope before the script exits then the warning does not occur. -Aaron Hieber
I'm certain this is a duplicate of bug #40383 and the patch attached to it should solve your problem too. If so, perhaps add a comment there, and then close this ticket?
Resolved.