Prevent CLONE from potentially running more than once
[dbsrgits/DBIx-Class.git] / lib / DBIx / Class / Storage / DBI.pm
index 302bcca..6c2940c 100644 (file)
@@ -251,7 +251,7 @@ sub new {
     undef;
   }
 
-  sub CLONE {
+  sub DBIx::Class::__DBI_Storage_iThreads_handler__::CLONE {
     # As per DBI's recommendation, DBIC disconnects all handles as
     # soon as possible (DBIC will reconnect only on demand from within
     # the thread)