From: Brandon L. Black Date: Thu, 5 Jun 2008 06:57:09 +0000 (+0000) Subject: _verify_pid mods _dbh, so we must call it again here X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=37976db0c1d1ec05e76910a9ee44820ce0aa287c;p=dbsrgits%2FDBIx-Class-Historic.git _verify_pid mods _dbh, so we must call it again here --- diff --git a/lib/DBIx/Class/Storage/DBI.pm b/lib/DBIx/Class/Storage/DBI.pm index bebf2d8..aeb0da1 100644 --- a/lib/DBIx/Class/Storage/DBI.pm +++ b/lib/DBIx/Class/Storage/DBI.pm @@ -600,7 +600,7 @@ sub dbh_do { eval { $self->_verify_pid if $dbh; - if( !$dbh ) { + if(!$self->_dbh) { $self->_populate_dbh; $dbh = $self->_dbh; }