[Bast-commits] r7288 - DBIx-Class/0.08/trunk/lib/DBIx/Class/Storage

caelum at dev.catalyst.perl.org caelum at dev.catalyst.perl.org
Mon Aug 10 08:13:19 GMT 2009


Author: caelum
Date: 2009-08-10 08:13:19 +0000 (Mon, 10 Aug 2009)
New Revision: 7288

Modified:
   DBIx-Class/0.08/trunk/lib/DBIx/Class/Storage/DBI.pm
Log:
make _determine_driver more reentrant

Modified: DBIx-Class/0.08/trunk/lib/DBIx/Class/Storage/DBI.pm
===================================================================
--- DBIx-Class/0.08/trunk/lib/DBIx/Class/Storage/DBI.pm	2009-08-10 08:07:45 UTC (rev 7287)
+++ DBIx-Class/0.08/trunk/lib/DBIx/Class/Storage/DBI.pm	2009-08-10 08:13:19 UTC (rev 7288)
@@ -824,7 +824,7 @@
 sub _determine_driver {
   my ($self) = @_;
 
-  if (not $self->_driver_determined) {
+  if ((not $self->_driver_determined) && (not $self->{_in_determine_driver})) {
     my $started_unconnected = 0;
     local $self->{_in_determine_driver} = 1;
 




More information about the Bast-commits mailing list