Subject: CVS commit: pkgsrc/databases/p5-DBI
To: None <pkgsrc-changes@netbsd.org>
From: Martin J. Laubach <mjl@netbsd.org>
List: pkgsrc-changes
Date: 08/21/2002 03:30:21
Module Name: pkgsrc
Committed By: mjl
Date: Wed Aug 21 00:30:20 UTC 2002
Modified Files:
pkgsrc/databases/p5-DBI: Makefile distinfo
Log Message:
Update p5-DBI to 1.30.
Most notable changes:
Fixed problems with selectrow_array, selectrow_arrayref, and
selectall_arrayref introduced in DBI 1.29.
The trace output can be sent to STDOUT instead of STDERR by using
"STDOUT" as the name of the file, i.e., $h->trace(..., "STDOUT")
Added $sth->{ParamValues} to return a hash of the most recent
values bound to placeholders via bind_param() or execute().
Enhanced ShowErrorStatement to include ParamValues if available:
"DBD::foo::st execute failed: errstr [for statement ``...'' with params: 1='foo']"
Fixed missing column in C implementation of fetchall_arrayref()
Added C implementations of selectrow_arrayref() and fetchall_arrayref()
in Driver.xst. All compiled drivers using Driver.xst will now be
faster making those calls.
Drivers just need to be recompiled and reinstalled to enable it.
Added $max_rows parameter to fetchall_arrayref() to optionally limit
the number of rows returned. Can now fetch batches of rows.
Added MaxRows attribute to selectall_arrayref()
which then passes it to fetchall_arrayref().
Documented that $h->func() does not trigger RaiseError etc
so applications must explicitly check for errors.
HandleError subroutine interface is now regarded as stable.
Fixed reference loop causing a handle/memory leak
that was introduced in DBI 1.16.
Fixed DBI::Format to work with 'filehandles' from IO::Scalar
and similar modules
Fixed $h->func for DBI::PurePerl
Fixed $dbh->{Name} for DBI::PurePerl
Added DBI method call profiling and benchmarking.
Added execute_array() and bind_param_array() documentation
Removed undocumented Handlers attribute (replaced by HandleError).
Greatly improved DBI::PurePerl in performance and accuracy.
Added DBI::PurePerl, a transparent DBI emulation for pure-perl drivers
See Perldoc DBI::PurePerl for details.
Added DBI::Const::GetInfo* modules
Added write_getinfo_pm utility to DBI::DBD
Added $allow_active==2 mode for prepare_cached()
Extend $h->{Warn} to commit/rollback ineffective warning
To generate a diff of this commit:
cvs rdiff -r1.13 -r1.14 pkgsrc/databases/p5-DBI/Makefile
cvs rdiff -r1.7 -r1.8 pkgsrc/databases/p5-DBI/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.