summaryrefslogtreecommitdiff
path: root/databases/p5-DBI
diff options
context:
space:
mode:
authormjl <mjl>2003-03-06 12:53:05 +0000
committermjl <mjl>2003-03-06 12:53:05 +0000
commit0aa630750d5ef1004b9fc261e2e3f719c132d322 (patch)
tree88e0e4600e383537c06d6b52d99a4fc47272ebbd /databases/p5-DBI
parent12fc5440b448cf2f812d40fd9fde0e896cf7f865 (diff)
downloadpkgsrc-0aa630750d5ef1004b9fc261e2e3f719c132d322.tar.gz
Update p5-DBI to 1.34
Fixed DBI::DBD docs to refer to DBI::DBD::Metadata Fixed disconnect_all() to not be required by drivers. Added $okay = $h->can($method_name) to check if a method exists. Added DBD::*::*->install_method($method_name, \%attr) so driver private methods can be 'installed' into the DBI dispatcher and no longer need to be called using $h->func(..., $method_name). Enhanced $dbh->clone() and documentation. Removed old DBI::Shell from distribution and added Tom Lowery's improved version to the Bundle::DBI file. Updated minimum version numbers for modules in Bundle::DBI. Added $dbh2 = $dbh1->clone to make a new connection to the database that is identical to the original one. clone() can be called even after the original handle has been disconnected. See the docs for more details. Fixed unescaping of newlines in DBI::ProfileData Fixed Taint bug with fetchrow_hashref Fixed $dbh->{Active} for DBD::Proxy Fixed STORE to not clear error during nested DBI call Fixed DBI::PurePerl error clearing behaviour. Fixed problem that meant ShowErrorStatement could show wrong statement Changed Apache::DBI hook to check for $ENV{MOD_PERL} instead of $ENV{GATEWAY_INTERFACE} thanks to Ask Bjoern Hansen. No longer tries to dup trace logfp when an interpreter is being cloned. Database handles no longer inherit shared $h->err/errstr/state storage from their drivers, so each $dbh has it's own $h->err etc. values and is no longer affected by calls made on other dbh's. Now when a dbh is destroyed it's err/errstr/state values are copied up to the driver so checking $DBI::errstr still works as expected. Documentation changes: Documented $high_resolution_time = dbi_time() function. Documented that bind_col() can take an atribute hash. Clarified documentation for ParamValues attribute hash keys. Many good DBI documentation tweaks including a major update to the DBI::DBD driver author guide. Clarified that execute() should itself call finish() if it's called on a statement handle that's still active. Clarified $sth->{ParamValues}. Driver authors please note. Removed "NEW" markers on some methods and attributes and added text to each giving the DBI version it was added in, if it was added after DBI 1.21 (Feb 2002). Fixed to work with 5.005_03 (I've not tested it). Reenabled taint tests (accidentally left disabled) Improved docs for FetchHashKeyName attribute Fixed core dump if fetchrow_hashref given bad argument (name of attribute with a value that wasn't an array reference) Fixed some compiler warnings Updated Steven Hirsch's enhanced proxy work (seems I left out a bit). The fetchall_arrayref method, when called with a $maxrows parameter, no longer gives an error if called again after all rows have been fetched. This simplifies application logic when fetching in batches. Also added batch-fetch while() loop example to the docs. The proxy now supports non-lazy (synchronous) prepare, positioned updates (for selects containing 'for update'), PlRPC config set via attributes, and accurate propagation of errors The DBI_AUTOPROXY env var can now hold the full dsn of the proxy driver plus attributes, like "dbi:Proxy(proxy_foo=>1):host=...". Added TaintIn & TaintOut attributes to give finer control over tainting The RootClass attribute no longer ignores failure to load a module, but also doesn't try to load a module if the class already exists HandleError attribute works for connect failures The connect() RaiseError/PrintError message now includes the username. Changed "last handle unknown or destroyed" warning to be a trace message. Removed undocumented $h->event() method. Further enhancements to DBD::PurePerl accuracy. The CursorName attribute now defaults to undef and not an error.
Diffstat (limited to 'databases/p5-DBI')
-rw-r--r--databases/p5-DBI/Makefile4
-rw-r--r--databases/p5-DBI/distinfo6
2 files changed, 5 insertions, 5 deletions
diff --git a/databases/p5-DBI/Makefile b/databases/p5-DBI/Makefile
index bb035996b1e..cfc21a1ac26 100644
--- a/databases/p5-DBI/Makefile
+++ b/databases/p5-DBI/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.16 2002/10/13 22:06:36 seb Exp $
+# $NetBSD: Makefile,v 1.17 2003/03/06 12:53:05 mjl Exp $
#
-DISTNAME= DBI-1.30
+DISTNAME= DBI-1.34
PKGNAME= p5-${DISTNAME}
SVR4_PKGNAME= p5dbi
CATEGORIES= databases perl5
diff --git a/databases/p5-DBI/distinfo b/databases/p5-DBI/distinfo
index 4a46e0e5ff4..44cde18efec 100644
--- a/databases/p5-DBI/distinfo
+++ b/databases/p5-DBI/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.8 2002/08/21 00:30:20 mjl Exp $
+$NetBSD: distinfo,v 1.9 2003/03/06 12:53:05 mjl Exp $
-SHA1 (DBI-1.30.tar.gz) = 807fbcb7bca687f1ecb2db21eb179a6d88212b0d
-Size (DBI-1.30.tar.gz) = 257016 bytes
+SHA1 (DBI-1.34.tar.gz) = 409d9edd0ee43f00ca849c0103a91a38cf0c294f
+Size (DBI-1.34.tar.gz) = 290116 bytes