From f9d73c52367bd5e2919673ce9f3cecc85dd24d82 Mon Sep 17 00:00:00 2001 From: mjl Date: Wed, 21 Aug 2002 00:30:20 +0000 Subject: 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 --- databases/p5-DBI/Makefile | 4 ++-- databases/p5-DBI/distinfo | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'databases') diff --git a/databases/p5-DBI/Makefile b/databases/p5-DBI/Makefile index 455e67f019b..62efc7c4ce8 100644 --- a/databases/p5-DBI/Makefile +++ b/databases/p5-DBI/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.13 2002/02/14 15:50:05 mjl Exp $ +# $NetBSD: Makefile,v 1.14 2002/08/21 00:30:20 mjl Exp $ # -DISTNAME= DBI-1.21 +DISTNAME= DBI-1.30 PKGNAME= p5-${DISTNAME} SVR4_PKGNAME= p5dbi CATEGORIES= databases perl5 diff --git a/databases/p5-DBI/distinfo b/databases/p5-DBI/distinfo index 6db9f0a4cc3..4a46e0e5ff4 100644 --- a/databases/p5-DBI/distinfo +++ b/databases/p5-DBI/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.7 2002/02/14 15:50:05 mjl Exp $ +$NetBSD: distinfo,v 1.8 2002/08/21 00:30:20 mjl Exp $ -SHA1 (DBI-1.21.tar.gz) = 45ea1468f2a1e90dc17fc8d41545ac14f2773266 -Size (DBI-1.21.tar.gz) = 208384 bytes +SHA1 (DBI-1.30.tar.gz) = 807fbcb7bca687f1ecb2db21eb179a6d88212b0d +Size (DBI-1.30.tar.gz) = 257016 bytes -- cgit v1.2.3