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:
9424553
)
Merge live hack - Extra debugging on connection failures
author
Chad Horohoe
<demon@users.mediawiki.org>
Mon, 1 Aug 2011 23:28:06 +0000
(23:28 +0000)
committer
Chad Horohoe
<demon@users.mediawiki.org>
Mon, 1 Aug 2011 23:28:06 +0000
(23:28 +0000)
includes/db/LoadBalancer.php
patch
|
blob
|
history
diff --git
a/includes/db/LoadBalancer.php
b/includes/db/LoadBalancer.php
index
069b8e1
..
ab3174f
100644
(file)
--- a/
includes/db/LoadBalancer.php
+++ b/
includes/db/LoadBalancer.php
@@
-699,7
+699,7
@@
class LoadBalancer {
if ( !is_object( $conn ) ) {
// No last connection, probably due to all servers being too busy
- wfLogDBError( "LB failure with no last connection\n" );
+ wfLogDBError( "LB failure with no last connection
. Connection error: {$this->mLastError}
\n" );
$conn = new Database;
// If all servers were busy, mLastError will contain something sensible
throw new DBConnectionError( $conn, $this->mLastError );