X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDBIx%2FClass%2FStorage%2FDBI%2FReplicated.pm;h=0846f85d9df40eea2a1c9a5c9497ca8fa6165633;hb=f71a92ae456d56097108cf2577d4079bb4a48793;hp=ad3fff16e7bd416b09a7fb745f28f8d2da73f1db;hpb=243a6b72cfb2a6f2ccfcd84b665f1880790e2ff9;p=dbsrgits%2FDBIx-Class.git 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.