On 30-Jul-2006 Tim Bunce wrote:
> I'd appreciate testing of this release candidate:
>
> http://www.data-plan.com/public/DBI-1.52-RC1.tar.gz
>
> =head2 Changes in DBI 1.52 (svn rev 6734), 30h July 2006
>
> Fixed memory leak (per handle) thanks to Nicholas Clark and Ephraim Dan.
> Fixed memory leak (16 bytes per sth) thanks to Doru Theodor Petrescu.
> Fixed execute_for_fetch/execute_array to RaiseError thanks to Martin J.
> Evans.
> Fixed for perl 5.9.4. Users of Perl >= 5.9.4 will require DBI >= 1.52.
>
> Updated DBD::File to 0.35 to match the latest release on CPAN.
>
> Added $dbh->statistics_info specification thanks to Brandon Black.
>
> Many changes and additions to profiling:
> Profile Path can now uses sane strings instead of obscure numbers,
> can refer to attributes, assorted magical values, and even code refs!
> Parsing of non-numeric DBI_PROFILE env var values has changed.
> Changed DBI::Profile docs extensively - many new features.
> See DBI::Profile docs for more information.
>
> =cut
>
> You'll find more info on the interesting DBI::Profile changes
> in http://cpan.perl.org/authors/id/T/TI/TIMB/DBI_WhatsNewTalk_200607.pdf
>
> Enjoy!
>
> Tim.
Ok for me (so far) except for:
Failed test in t/40profile.t at line 233
There seemed to be a commented out warn Dumper which when included provides:
{
'40profile.t' => {
'40profile.t via 40profile.t' => {
'40profile.t line 227' => {
'40profile.t line 227 via 40profile.t line 229' => [
1,
0,
0,
0,
0,
0,
0
]
}
}
}
}
and the value of $file, $line1 and $line2 are 40profile.t 229 227.
Looks like $tmp's first hash key differs for "'40profile.t via 40profile.t'"
and what is expected which is "40profile.t" from this:
# Structures begin differing at:
# $got->{40profile.t}{40profile.t} = Does not exist
# $expected->{40profile.t}{40profile.t} = HASH(0x8417de4)
I'm using Test::More 0.62 if that makes a difference.
Martin
--
Martin J. Evans
Easysoft Ltd, UK
http://www.easysoft.com