Mon Oct 24 09:36:01 2011 UTC ()
Update p5-DBIx-Connector to 0.47.

Changes from previous:
0.47  2011-09-26T17:12:07Z
      - Use of the deprecated `catch` functionality now warns on every call,
        rather than just the first call from a given caller.

0.46  2011-07-17T00:47:49
      - Eliminated "Use of qw(...) as parentheses is deprecated" warning in
        test when running on Perl 5.14.
      - Properly `local`ing `$$` in the `t/base.t` test so that it doesn't die
        on Perl 5.15. Thanks to Andreas J. Koenig for the report and diagnosis
        and to Nicholas Clark for the fix.
      - Duplicate paragraphs removed from `README.md` thanks to Ask Bjæ·¡rn
        Hansen.
      - The `catch` functionality is deprecated. It will warn once for each
        caller to keep log verbosity down. In the next release, it will warn
        for every call. The release after that, it will be removed altogether.

0.45  2011-05-10T21:44:08
      - Fixed crash when `in_txn()` was called before an actual connection
        was established.
      - Strongly recommend setting `AutoCommit` to true in the documentation.
        Setting `AutoCommit` to false defeats the scoping behavior of `txn()`
        and therefore should not be used.
      - Nested exception handling now works properly in nested calls to
        `run()` in fixup mode and in nested calls to `txn()` in all modes.
        Thanks to Mark Lawrence for the report (RT #66974).

0.44  2011-03-20T01:04:59
      - Fixed bug with the MySQL driver introduced by the auto-reconnection
        fix in 0.43. Sorry for the lame mistake. [Lee Aylward]

0.43  2011-03-17T20:03:16
      - DBIx::Connector now sets the DBI `RaiseError` parameter to true in
        `new()` if neither it nor `HandleError` has been specified. This is to
        increase the likelihood that exception handling will be properly
        triggered in `run()`, `txn()`, and `svp()`. Documentation has also
        been added to emphasize the importance of setting `RaiseError` or
        `HandleError` appropriately.
      - Documented that `AutoInactiveDestroy` is set to true in `new()` if it
        is not specified. It's important tht this attribute be true in forking
        environments.
      - After connecting to the database, the MySQL driver,
        DBIx::Connector::Driver::mysql, now always sets the
        `mysql_auto_reconnect` attribute to false. This is to prevent MySQL's
        auto-reconnection feature from interfering with DBIx::Connector's
        auto-reconnection functionality in `fixup` mode. Thanks to Karen
        Etheridge and Peter Rabbitson for the report.
      - Removed mention of the use of the `catch` function from Try::Tiny,
        since it is no longer compatible to use passing the exception-handling
        function. Just using `catch =>` instead, which is cleaner-looking
        anyway (RT #65196).

0.42  2010-12-17T18:35:54
      - If a catch block died, the exception was not being propagated. That
        is, if a catch block threw an exception, DBIx::Connector ate it, and
        any calling code would not be able to catch it. This was a pretty
        serious bug; upgrading is strongly recommended for anyone using catch
        blocks.
      - When `run()`, `txn()`, or `svp()` was called recursively from within a
        second fixup execution, it was not respecting the fact that it was
        recursive and could try to start a transaction again. This happened
        *only* when a fixup run found that the database was disconnected and
        successfully re-connected, so it's a pretty rare condition.

0.41  2010-12-08T21:02:32
      - `connect()` no longer returns a disconnected database handle. Thanks
        to John Siracusa for the spot (Issue #6).
      - Added `disconnect_on_destroy()`, which can be used to disable
        disconnecting the database handle when the connector object is
        destroyed. Suggested by John Siracusa.


(hiramatsu)
diff -r1.4 -r1.5 pkgsrc/databases/p5-DBIx-Connector/Makefile
diff -r1.2 -r1.3 pkgsrc/databases/p5-DBIx-Connector/distinfo

cvs diff -r1.4 -r1.5 pkgsrc/databases/p5-DBIx-Connector/Makefile (expand / switch to unified diff)

--- pkgsrc/databases/p5-DBIx-Connector/Makefile 2011/08/14 08:18:07 1.4
+++ pkgsrc/databases/p5-DBIx-Connector/Makefile 2011/10/24 09:36:01 1.5
@@ -1,19 +1,18 @@ @@ -1,19 +1,18 @@
1# $NetBSD: Makefile,v 1.4 2011/08/14 08:18:07 obache Exp $ 1# $NetBSD: Makefile,v 1.5 2011/10/24 09:36:01 hiramatsu Exp $
2# 2#
3 3
4DISTNAME= DBIx-Connector-0.40 4DISTNAME= DBIx-Connector-0.47
5PKGNAME= p5-${DISTNAME} 5PKGNAME= p5-${DISTNAME}
6PKGREVISION= 1 
7CATEGORIES= databases perl5 6CATEGORIES= databases perl5
8MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=DBIx/} 7MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=DBIx/}
9 8
10MAINTAINER= pkgsrc-users@NetBSD.org 9MAINTAINER= pkgsrc-users@NetBSD.org
11HOMEPAGE= http://search.cpan.org/dist/DBIx-Connector/ 10HOMEPAGE= http://search.cpan.org/dist/DBIx-Connector/
12COMMENT= Fast, safe DBI connection and transaction management 11COMMENT= Fast, safe DBI connection and transaction management
13LICENSE= ${PERL5_LICENSE} 12LICENSE= ${PERL5_LICENSE}
14 13
15BUILD_DEPENDS+= p5-Test-MockModule>=0.05:../../devel/p5-Test-MockModule 14BUILD_DEPENDS+= p5-Test-MockModule>=0.05:../../devel/p5-Test-MockModule
16 15
17PKG_DESTDIR_SUPPORT= user-destdir 16PKG_DESTDIR_SUPPORT= user-destdir
18 17
19USE_LANGUAGES= # empty 18USE_LANGUAGES= # empty

cvs diff -r1.2 -r1.3 pkgsrc/databases/p5-DBIx-Connector/distinfo (expand / switch to unified diff)

--- pkgsrc/databases/p5-DBIx-Connector/distinfo 2010/09/22 21:17:16 1.2
+++ pkgsrc/databases/p5-DBIx-Connector/distinfo 2011/10/24 09:36:01 1.3
@@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
1$NetBSD: distinfo,v 1.2 2010/09/22 21:17:16 sno Exp $ 1$NetBSD: distinfo,v 1.3 2011/10/24 09:36:01 hiramatsu Exp $
2 2
3SHA1 (DBIx-Connector-0.40.tar.gz) = 908599e2c595c8769556830e9db7946a272f3068 3SHA1 (DBIx-Connector-0.47.tar.gz) = 1ef9741d09b43b00d4833fb9f73bcb29071d09f6
4RMD160 (DBIx-Connector-0.40.tar.gz) = f293a86cc7273edde873a7551af32768af59b89a 4RMD160 (DBIx-Connector-0.47.tar.gz) = 23aaf7462fb294cd571dd44e987f939c639e2f8d
5Size (DBIx-Connector-0.40.tar.gz) = 32490 bytes 5Size (DBIx-Connector-0.47.tar.gz) = 38388 bytes