Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Typofix

  • Loading branch information...
commit fc3046073fb1ab0fe29bd5e1dcd80372c8bfeba5 1 parent 0ae297b
@jamiemccarthy jamiemccarthy authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  Slash/DB/MySQL/MySQL.pm
View
2  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};
Please sign in to comment.
Something went wrong with that request. Please try again.