Subject: CVS commit: pkgsrc/databases/p5-DBI
To: None <pkgsrc-changes@netbsd.org>
From: Martin J. Laubach <mjl@netbsd.org>
List: pkgsrc-changes
Date: 05/30/2003 09:34:31
Module Name: pkgsrc
Committed By: mjl
Date: Fri May 30 09:34:30 UTC 2003
Modified Files:
pkgsrc/databases/p5-DBI: Makefile distinfo
Log Message:
Update p5-DBI to 1.37
Fixed "Can't get dbh->{Statement}: unrecognised attribute" error
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
Fixed DBI::PurePerl to not reset $@ during method dispatch.
Fixed Proxy disconnect
Fixed error in DBI::DBD docs
Changed t/40profile.t to not require Time::HiRes.
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
Added workaround for perl bug #17575 tied hash nested FETCH
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
Added MaxRows attribute to selectcol_arrayref
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_').
To generate a diff of this commit:
cvs rdiff -r1.19 -r1.20 pkgsrc/databases/p5-DBI/Makefile
cvs rdiff -r1.10 -r1.11 pkgsrc/databases/p5-DBI/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.