From d7076ac6b433fda4c0e27dda0b4b316665611bc6 Mon Sep 17 00:00:00 2001 From: mjl Date: Fri, 30 May 2003 09:34:30 +0000 Subject: 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_'). --- databases/p5-DBI/Makefile | 4 ++-- databases/p5-DBI/distinfo | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'databases/p5-DBI') diff --git a/databases/p5-DBI/Makefile b/databases/p5-DBI/Makefile index af2769ed498..edc2d86cf49 100644 --- a/databases/p5-DBI/Makefile +++ b/databases/p5-DBI/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.19 2003/03/23 02:48:16 heinz Exp $ +# $NetBSD: Makefile,v 1.20 2003/05/30 09:34:30 mjl Exp $ # -DISTNAME= DBI-1.35 +DISTNAME= DBI-1.37 PKGNAME= p5-${DISTNAME} SVR4_PKGNAME= p5dbi CATEGORIES= databases perl5 diff --git a/databases/p5-DBI/distinfo b/databases/p5-DBI/distinfo index 534d4a245cf..94caacc3c7d 100644 --- a/databases/p5-DBI/distinfo +++ b/databases/p5-DBI/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.10 2003/03/16 15:46:47 mjl Exp $ +$NetBSD: distinfo,v 1.11 2003/05/30 09:34:30 mjl Exp $ -SHA1 (DBI-1.35.tar.gz) = c109401c677beb088adbda343bded9d464dab754 -Size (DBI-1.35.tar.gz) = 288058 bytes +SHA1 (DBI-1.37.tar.gz) = 993804a3228316c5b4b594ba1302ea9283c099b6 +Size (DBI-1.37.tar.gz) = 294495 bytes -- cgit v1.2.3