Skip Menu |

This queue is for tickets about the CGI-Session CPAN distribution.

Report information
The Basics
Id: 32932
Status: resolved
Priority: 0/
Queue: CGI-Session

People
Owner: RSAVAGE [...] cpan.org
Requestors: 0x62ash [...] gmail.com
Cc:
AdminCc:

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



Subject: Fix for SQLite driver
Date: Tue, 5 Feb 2008 06:17:33 +0100
To: bug-CGI-Session [...] rt.cpan.org
From: "Alexander Batyrshin" <0x62ash [...] gmail.com>
Hello, SQLite driver always return this: DBI::db=HASH(0x89601c)->disconnect invalidates 1 active statement handle (either destroy statement handles or call finish on them before disconnecting) at /Library/Perl/5.8.8/CGI/Session/Driver/DBI.pm line 133. closing dbh with active statement handles at /Library/Perl/5.8.8/CGI/Session/Driver/DBI.pm line 133. Fix for this solution will be to add new method into sqlite.pm: sub DESTROY { unless ( $self->{Handle}->{AutoCommit} ) { $self->{Handle}->commit; } if ( $self->{_disconnect} ) { undef $self->{Handle}; } } More info you can find here - http://perlmonks.org/?node_id=665714 -- Alexander Batyrshin aka bash bash = Biomechanica Artificial Sabotage Humanoid
I'm giving this ticket to Ron Savage, who said he would have time to investigate. Mark On Tue Feb 05 00:18:17 2008, 0x62ash@gmail.com wrote: Show quoted text
> Hello, > SQLite driver always return this: > > DBI::db=HASH(0x89601c)->disconnect invalidates 1 active statement > handle (either destroy statement handles or call finish on them before > disconnecting) at /Library/Perl/5.8.8/CGI/Session/Driver/DBI.pm line > 133. > closing dbh with active statement handles at > /Library/Perl/5.8.8/CGI/Session/Driver/DBI.pm line 133. > > Fix for this solution will be to add new method into sqlite.pm: > > sub DESTROY { > unless ( $self->{Handle}->{AutoCommit} ) { > $self->{Handle}->commit; > } > if ( $self->{_disconnect} ) { > undef $self->{Handle}; > } > } > > More info you can find here - http://perlmonks.org/?node_id=665714 >
Subject: Re: [rt.cpan.org #32932] Fix for SQLite driver
Date: Sun, 16 Mar 2008 16:48:31 +1100
To: bug-CGI-Session [...] rt.cpan.org
From: Ron Savage <ron [...] savage.net.au>
Hi Mark Show quoted text
> Queue: CGI-Session > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=32932 >
Patched in SVN. -- Ron Savage ron@savage.net.au http://savage.net.au/index.html
Patched in V 4.29_1.
From: ptushnik [...] gmail.com
On Sun Apr 06 20:11:33 2008, RSAVAGE wrote: Show quoted text
> Patched in V 4.29_1.
thanks