From: Rafael Kitover Date: Fri, 22 May 2009 04:52:47 +0000 (+0000) Subject: comment addition X-Git-Tag: v0.08103~42 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=d6e8095953ce56541998503b3fe9bb4372f200d0;p=dbsrgits%2FDBIx-Class.git comment addition --- diff --git a/lib/DBIx/Class/Storage/DBI/Replicated/Pool.pm b/lib/DBIx/Class/Storage/DBI/Replicated/Pool.pm index 8f1e766..2f3b444 100644 --- a/lib/DBIx/Class/Storage/DBI/Replicated/Pool.pm +++ b/lib/DBIx/Class/Storage/DBI/Replicated/Pool.pm @@ -190,6 +190,9 @@ sub connect_replicant { ## So we try to set the driver without connecting, however this doesn't always ## work, as a driver may need to connect to determine the DB version, and this ## may fail. +## +## Why this is necessary at all, is that we need to have the final storage +## class to apply the Replicant role. $self->_safely($replicant, '->_determine_driver', sub { $replicant->_determine_driver