Index: trunk/phase3/includes/db/LoadBalancer.php |
— | — | @@ -367,7 +367,7 @@ |
368 | 368 | /** |
369 | 369 | * Wait for a given slave to catch up to the master pos stored in $this |
370 | 370 | */ |
371 | | - function doWait( $index, $open ) { |
| 371 | + function doWait( $index, $open = false ) { |
372 | 372 | # Find a connection to wait on |
373 | 373 | $conn = $this->getAnyOpenConnection( $index ); |
374 | 374 | if ( !$conn ) { |