Permalink
Browse files

Typofix

  • Loading branch information...
1 parent 0ae297b commit fc3046073fb1ab0fe29bd5e1dcd80372c8bfeba5 @jamiemccarthy jamiemccarthy committed Nov 25, 2004
Showing with 1 addition and 1 deletion.
  1. +1 −1 Slash/DB/MySQL/MySQL.pm
@@ -2774,7 +2774,7 @@ sub getDB {
# it does something reasonable.
for my $i (0 .. $n_usable-2) {
my $dbid = $dbids_usable[$i];
- $x -= $dbs->{$dbid}{weight_total};
+ $x -= $dbs->{$dbid}{weight_final};
if ($x <= 0) {
#print STDERR "returning $i of $n_usable, dbid=$dbid\n";
return $dbs->{$dbid}{virtual_user};

0 comments on commit fc30460

Please sign in to comment.