Permalink
Commits on Mar 20, 2011
  1. Timestamp v0.44.

    theory committed Mar 20, 2011
  2. Credit where credit is due.

    theory committed Mar 20, 2011
Commits on Mar 17, 2011
  1. Increment to v0.44.

    theory committed Mar 17, 2011
  2. Timestamp v0.43.

    theory committed Mar 17, 2011
  3. Remove mention of `Try::Tiny::catch`.

    theory committed Mar 17, 2011
    It doesn't work for passing a catch handler to the methods anymore.
Commits on Jan 31, 2011
  1. Add per-driver post-connection handling.

    theory committed Jan 31, 2011
    Use it to teach MySQL to set `mysql_auto_reconnect` to false, to keep 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.
  2. Default RaiseError to true.

    theory committed Jan 31, 2011
    It's important for the execution methods that the database handle raise
    exceptions on errors so that they can be properly handled. This is especially
    true for C<txn()> to get automatic rollback on failure. So set `RaiseError`
    to true if neither it nor `HandleError` has been specified. And document
    how important it is that these attributes be set correctly.
    
    While at it, document that DBIx::Connector also chagnes the default value of
    `AutoInactiveDestroy`.
Commits on Dec 17, 2010
  1. Increment version to 0.43.

    theory committed Dec 17, 2010
  2. Timestamped for 0.42.

    theory committed Dec 17, 2010
  3. Fix bug where catch blocks did not propagate exceptions.

    theory committed Dec 17, 2010
    If you threw an exception from a catch block, it would not be detectable
    from outside:
    
        eval {
            $conn->run(sub { die 'WTF' }, catch => sub { die 'OMG!' });
        };
        if (my $err = $@) {
            say "We got an error: $@\n";
        }
    
    In this example, the `if` block would never be called, because even though the
    catch block threw an exception, $@ was not set. This could be terribly
    annoying, as you can imagine. I was being a bit too clever about localizing
    `$@`, but did so with the scope much too broad. This patch uses a much tighter
    scope to localize `$@`, so now it should propagate properly everywhere.
Commits on Dec 8, 2010
  1. Add 0.42 to Changes.

    theory committed Dec 8, 2010
  2. Increment version to 0.42.

    theory committed Dec 8, 2010
  3. Timestamp for 0.41.

    theory committed Dec 8, 2010
  4. Add `disconnect_on_destroy()`.

    theory committed Dec 8, 2010
    Suggested by John Siracusa. Closes #6.
Commits on Nov 4, 2010
  1. pod fixes

    karenetheridge committed Nov 4, 2010
Commits on Sep 17, 2010
  1. Increment version to 0.41.

    theory committed Sep 17, 2010
  2. Timestamp for 0.40 release.

    theory committed Sep 17, 2010
  3. Increment to version 0.40.

    theory committed Sep 17, 2010
  4. Require Test::Pod.

    theory committed Sep 17, 2010
    And update link to the GitHub repository to be a nice link.
Commits on Sep 9, 2010
  1. Email bug reports, too.

    theory committed Sep 9, 2010
  2. I kant spel.

    theory committed Sep 9, 2010
Commits on Sep 3, 2010
  1. Rollback on disconnect was removed.

    theory committed Sep 3, 2010
    So remove the docs that say that.
Commits on Aug 30, 2010
  1. Give credit where credit is due.

    theory committed Aug 30, 2010
  2. Simplify `DESTROY()`.

    theory committed Aug 30, 2010
    * `DESTROY()` no longer pings the database or rolls back transactions. It now
      simply calls `disconnect`. This avoids warnings during global destruction,
      and doesn't seem necessary anyway, as the DBI does these things during
      global destruction (and always has).
    * `DESTROY()` now clears `CachedKids`, following the precedent of DBIx::Class.
       May not be needed for recent-ish drivers, but seems harmless and it's nice
       to avoid warnings were possible.
    * The `connected()` method no longer `local`ly sets `RaiseError`. It instead
      leaves that to the drivers (currenly only Driver::Oracle).
Commits on Aug 6, 2010
  1. Alphabetize.

    theory committed Aug 6, 2010
  2. Set `AutoInactiveDestroy` with DBI 1.614 and up.

    theory committed Aug 6, 2010
    Set `AutoInactiveDestroy` on connect with DBI 1.614 and higher, unless it is
    explicitly set in the attributes. This makes things even safer in a forking
    environment, preventing a parent process from getting disconnected when a
    child exits without using the connection. The reports from Peter Rabbitson and
    Aran Deltac and subsequent discussion with Tim Bunce led to the addition of
    this attribute in DBI 1.614, which is now the recommended version of DBI.
Commits on Jul 29, 2010
  1. Document use of `wantarray` in blocks.

    theory committed Jul 29, 2010
    Also added tests to make sure it works for `svp()` and `run()` in addition to
    `txn()`, and updated `Changes`.
  2. Fix context for _exec

    yko committed Jul 29, 2010
Commits on Jun 4, 2010
  1. Timestamp for 0.35 release.

    theory committed Jun 4, 2010