This is an automated email from the git hooks/post-receive script. js pushed a commit to annotated tag debian/0.019-1 in repository libattean-perl.
commit b9090f1df48765514802d6c0ed4929bbaf25f3e8 Author: Kjetil Kjernsmo <[email protected]> Date: Thu Jul 28 10:55:14 2016 +0200 turn the inequality since the right hand side is materialized --- lib/Attean/API/QueryPlanner.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Attean/API/QueryPlanner.pm b/lib/Attean/API/QueryPlanner.pm index 174546a..b4c7350 100644 --- a/lib/Attean/API/QueryPlanner.pm +++ b/lib/Attean/API/QueryPlanner.pm @@ -182,7 +182,7 @@ package Attean::API::SimpleCostPlanner 0.017 { my $lcost = $self->cost_for_plan($children[0], $model); my $rcost = $self->cost_for_plan($children[1], $model); $cost = ($lcost + $rcost); - $cost += ($lcost > $rcost); # To let the plan with cheaper lhs win + $cost += ($lcost < $rcost); # To let the plan with cheaper rhs win $cost *= 100 unless ($plan->children_are_variable_connected); } elsif ($plan->isa('Attean::Plan::Service')) { my $scost = 10; @@ -396,7 +396,7 @@ package Attean::API::IDPJoinPlanner 0.017 { my $mult = $self->_penalize_joins($plan); # warn "$mult * ($lcost + $rcost)"; $cost = $mult * ($lcost + $rcost); - $cost += ($lcost > $rcost); # To let the plan with cheaper lhs win + $cost += ($lcost < $rcost); # To let the plan with cheaper rhs win } } elsif ($plan->isa('Attean::Plan::Service')) { my $scost = 10; -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libattean-perl.git _______________________________________________ Pkg-perl-cvs-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits
