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