Skip Menu |

This queue is for tickets about the Template-Plugin-DBI CPAN distribution.

Report information
The Basics
Id: 40681
Status: new
Priority: 0/
Queue: Template-Plugin-DBI

People
Owner: Nobody in particular
Requestors: pcapcanari [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.11
Fixed in: 0.11



Subject: destroy active query objects before disconnect
Dear Maintainer Could you please fix a very small problem in Template::Plugin::DBI module. there is a problem with disconnect method you forgot to destroy queries. sub disconnect { my $self = shift; ########## line below should be added ##################### delete($self->{ _STH }); # first DESTROY any queries ########## line below should be added ##################### $self->{ _DBH }->disconnect() if $self->{ _DBH }; delete $self->{ _DBH }; return ''; } Thank you, Pavel