Skip Menu |
 

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

Report information
The Basics
Id: 92805
Status: new
Priority: 0/
Queue: Apache-DBI

People
Owner: Nobody in particular
Requestors: steve.bitcard [...] yewtc.demon.co.uk
Cc:
AdminCc:

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



Subject: clone returns original dbh.
Download (untitled) / with headers
text/plain 499b
$dbh->clone returns the original $dbh with Apache::DBI. My guess is that it is picking up the cached credentials. ... my $cloned_dbh = $dbh->clone; DBMon($dbh); DBMon($cloned_dbh); 2014-02-06 19:33:24 9297 whDBFuncs.pm User XmlUser: Apache::DBI::db=HASH(0x7fd8531cb290) 2014-02-06 19:33:24 9297 whDBFuncs.pm User XmlUser: Apache::DBI::db=HASH(0x7fd8531cb290) It works fine (returns different handle) if run from the command line. perl -v = 5.10.1 RHEL 2.6.32-279.22.1.el6.x86_64


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.