[Bast-commits] r8726 -
DBIx-Class/0.08/trunk/lib/DBIx/Class/Storage/DBI
caelum at dev.catalyst.perl.org
caelum at dev.catalyst.perl.org
Tue Feb 16 13:51:59 GMT 2010
Author: caelum
Date: 2010-02-16 13:51:58 +0000 (Tue, 16 Feb 2010)
New Revision: 8726
Modified:
DBIx-Class/0.08/trunk/lib/DBIx/Class/Storage/DBI/Replicated.pm
Log:
set behavior for Hash::Merge in ::DBI::Replicated, otherwise it uses the global setting
Modified: DBIx-Class/0.08/trunk/lib/DBIx/Class/Storage/DBI/Replicated.pm
===================================================================
--- DBIx-Class/0.08/trunk/lib/DBIx/Class/Storage/DBI/Replicated.pm 2010-02-16 11:48:14 UTC (rev 8725)
+++ DBIx-Class/0.08/trunk/lib/DBIx/Class/Storage/DBI/Replicated.pm 2010-02-16 13:51:58 UTC (rev 8726)
@@ -384,7 +384,7 @@
my $wantarray = wantarray;
- my $merge = Hash::Merge->new;
+ my $merge = Hash::Merge->new('LEFT_PRECEDENT');
my %opts;
for my $arg (@$info) {
@@ -555,7 +555,7 @@
$self->throw_exception('too many hashrefs in connect_info')
if @hashes > 2;
- my $merge = Hash::Merge->new;
+ my $merge = Hash::Merge->new('LEFT_PRECEDENT');
my %opts = %{ $merge->merge(reverse @hashes) };
# delete them
More information about the Bast-commits
mailing list