X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDBIx%2FClass%2FStorage%2FDBI.pm;h=87f84e651dc5eb8d9df2983b5ce76dc18656e700;hb=d3abf3fe9466ce87d09d73c9af8ead9ff8d1e88e;hp=08e4fe51d40d8bcad0ca0de98514ce6fcc8c0291;hpb=f11383c2fd0da2579098d1125b51f08eb98beb3e;p=dbsrgits%2FDBIx-Class-Historic.git diff --git a/lib/DBIx/Class/Storage/DBI.pm b/lib/DBIx/Class/Storage/DBI.pm index 08e4fe5..87f84e6 100644 --- a/lib/DBIx/Class/Storage/DBI.pm +++ b/lib/DBIx/Class/Storage/DBI.pm @@ -549,8 +549,8 @@ sub _verify_pid { return if !$self->_dbh || $self->_conn_pid == $$; - $self->_dbh(undef); $self->_dbh->{InactiveDestroy} = 1; + $self->_dbh(undef); return; }