_verify_pid mods _dbh, so we must call it again here
Brandon L. Black [Thu, 5 Jun 2008 06:57:09 +0000 (06:57 +0000)]
lib/DBIx/Class/Storage/DBI.pm

index bebf2d8..aeb0da1 100644 (file)
@@ -600,7 +600,7 @@ sub dbh_do {
 
   eval {
     $self->_verify_pid if $dbh;
-    if( !$dbh ) {
+    if(!$self->_dbh) {
         $self->_populate_dbh;
         $dbh = $self->_dbh;
     }