Subject: CVS commit: pkgsrc/databases/p5-DBI
To: None <pkgsrc-changes@netbsd.org>
From: Martin J. Laubach <mjl@netbsd.org>
List: pkgsrc-changes
Date: 03/06/2003 14:53:06
Module Name:	pkgsrc
Committed By:	mjl
Date:		Thu Mar  6 12:53:05 UTC 2003

Modified Files:
	pkgsrc/databases/p5-DBI: Makefile distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -r1.16 -r1.17 pkgsrc/databases/p5-DBI/Makefile
cvs rdiff -r1.8 -r1.9 pkgsrc/databases/p5-DBI/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.