dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
00c5c39
)
Followup r83558, r83555
author
Sam Reed
<reedy@users.mediawiki.org>
Wed, 9 Mar 2011 16:37:39 +0000
(16:37 +0000)
committer
Sam Reed
<reedy@users.mediawiki.org>
Wed, 9 Mar 2011 16:37:39 +0000
(16:37 +0000)
Set default of false to $open parameter
includes/db/LoadBalancer.php
patch
|
blob
|
history
diff --git
a/includes/db/LoadBalancer.php
b/includes/db/LoadBalancer.php
index
3ceb536
..
efd3749
100644
(file)
--- a/
includes/db/LoadBalancer.php
+++ b/
includes/db/LoadBalancer.php
@@
-367,7
+367,7
@@
class LoadBalancer {
/**
* Wait for a given slave to catch up to the master pos stored in $this
*/
- function doWait( $index, $open ) {
+ function doWait( $index, $open
= false
) {
# Find a connection to wait on
$conn = $this->getAnyOpenConnection( $index );
if ( !$conn ) {