From: John Napiorkowski Date: Tue, 3 Jun 2008 15:59:17 +0000 (+0000) Subject: fix to make sure execute_reliably method properly finds its attributes X-Git-Tag: v0.08240~402^2~26 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=4fafa779d4d14f5790164f515848d30087f24eb8;p=dbsrgits%2FDBIx-Class.git fix to make sure execute_reliably method properly finds its attributes --- diff --git a/lib/DBIx/Class/Storage/DBI/Replicated.pm b/lib/DBIx/Class/Storage/DBI/Replicated.pm index ad3fff1..0846f85 100644 --- a/lib/DBIx/Class/Storage/DBI/Replicated.pm +++ b/lib/DBIx/Class/Storage/DBI/Replicated.pm @@ -428,7 +428,7 @@ sub execute_reliably { }; ##Reset to the original state - $self->schema->storage->read_handler($current); + $self->read_handler($current); ##Exception testing has to come last, otherwise you might leave the ##read_handler set to master.