Skip Menu |
 

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Data-ObjectDriver CPAN distribution.

Report information
The Basics
Id: 65448
Status: open
Priority: 0/
Queue: Data-ObjectDriver

People
Owner: Nobody in particular
Requestors: felix.ostmann [...] thewar.de
Cc:
AdminCc:

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



Subject: reconnect not working when reuse_dbh is set!
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 282
Download (untitled) / with headers
text/plain 282b
rw_handle will try a reconnect if ping failed, but if reuse_dbh is set, he will always get back the broken connection from $Handles{$driver->dsn}! So perhaps if ($driver->dbh and !$driver->dbh->ping) { delete($Handles{$driver->dsn}); $driver->dbh(undef); } will fix that!
MIME-Version: 1.0
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
Content-Type: text/plain; charset="UTF-8"
Message-ID: <rt-3.8.HEAD-9726-1298079454-1362.65448-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 44
Fixed on github, thanks for reporting. Yann
MIME-Version: 1.0
In-Reply-To: <rt-3.8.HEAD-9726-1298079454-1362.65448-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
References: <rt-3.8.HEAD-9726-1298079454-1362.65448-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="UTF-8"
Message-ID: <rt-3.8.HEAD-6890-1323346928-1653.65448-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
From: dsteinbrunner [...] pobox.com
X-RT-Original-Encoding: utf-8
Content-Length: 125
Download (untitled) / with headers
text/plain 125b
On Fri Feb 18 20:37:34 2011, YANNK wrote: Show quoted text
> Fixed on github, thanks for reporting.
I believe this ticket can be closed now.


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

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.