ANNOUNCE: DBI 1.37
[email protected] (Tim Bunce) Thu, 15 May 2003 19:25:25 +0100
| Newsgroups | perl.dbi.users,perl.dbi.announce |
|---|---|
| Message-ID | <[email protected]> |
file: $CPAN/authors/id/T/TI/TIMB/DBI-1.37.tar.gz
size: 294495 bytes
md5: 0113d0f47cf13b0694e0bfb2d13a5789
=head2 Changes in DBI 1.37, 15th May 2003
Fixed "Can't get dbh->{Statement}: unrecognised attribute" error in test
caused by change to perl internals in 5.8.0
Fixed to build with latest development perl (5.8.1@19525).
Fixed C code to use all ANSI declarations thanks to Steven Lembark.
=head2 Changes in DBI 1.36, 11th May 2003
Fixed DBI->connect to carp instead of croak on 'old-style' usage.
Fixed connect(,,, { RootClass => $foo }) to not croak if module not found.
Fixed code generated by DBI::DBD::Metadata thanks to [email protected] (#2270)
Fixed DBI::PurePerl to not reset $@ during method dispatch.
Fixed VMS build thanks to Michael Schwern.
Fixed Proxy disconnect thanks to Steven Hirsch.
Fixed error in DBI::DBD docs thanks to Andy Hassall.
Changed t/40profile.t to not require Time::HiRes.
Changed DBI::ProxyServer to load DBI only on first request, which
helps threaded server mode, thanks to Bob Showalter.
Changed execute_array() return value from row count to executed
tuple count, and now the ArrayTupleStatus attribute is mandatory.
NOTE: That is an API definition change that may affect your code.
Changed CompatMode attribute to also disable attribute 'quick FETCH'.
Changed attribute FETCH to be slightly faster thanks to Stas Bekman.
Added workaround for perl bug #17575 tied hash nested FETCH
thanks to Silvio Wanka.
Added Username and Password attributes to connect(..., \%attr) and so
also embedded in DSN like "dbi:Driver(Username=user,Password=pass):..."
Username and Password can't contain ")", ",", or "=" characters.
The predence is DSN first, then \%attr, then $user & $pass parameters,
and finally the DBI_USER & DBI_PASS environment variables.
The Username attribute is stored in the $dbh but the Password is not.
Added ProxyServer HOWTO configure restrictions docs thanks to Jochen Wiedmann.
Added MaxRows attribute to selectcol_arrayref prompted by Wojciech Pietron.
Added dump_handle as a method not just a DBI:: utility function.
Added on-demand by-row data feed into execute_array() using code ref,
or statement handle. For example, to insert from a select:
$insert_sth->execute_array( { ArrayTupleFetch => $select_sth, ... } )
Added warning to trace log when $h->{foo}=... is ignored due to
invalid prefix (e.g., not 'private_').
=cut
Tested on 5.005_03 (for possibly the last time), 5.6.1, 5.8.0 and bleadperl.
May take a day or three to reach your local CPAN mirror.
Enjoy!
Tim.