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

Owner: Nobody in particular
Requestors: aaron [...]

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 [...]
From: Aaron Hieber <aaron [...]>
Download (untitled) / with headers
text/plain 473b
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
Download (untitled) / with headers
text/plain 170b
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?

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to