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:
e0320af
)
this profiling section is nearly identical to our already verbose Database::open...
author
Domas Mituzas
<midom@users.mediawiki.org>
Wed, 9 Jan 2008 23:23:53 +0000
(23:23 +0000)
committer
Domas Mituzas
<midom@users.mediawiki.org>
Wed, 9 Jan 2008 23:23:53 +0000
(23:23 +0000)
includes/LoadBalancer.php
patch
|
blob
|
history
diff --git
a/includes/LoadBalancer.php
b/includes/LoadBalancer.php
index
28f7a78
..
b10c2a5
100644
(file)
--- a/
includes/LoadBalancer.php
+++ b/
includes/LoadBalancer.php
@@
-418,9
+418,7
@@
class LoadBalancer {
* @access private
*/
function reallyOpenConnection( &$server ) {
- wfProfileIn( __METHOD__ );
if( !is_array( $server ) ) {
- wfProfileOut( __METHOD__ );
throw new MWException( 'You must update your load-balancing configuration. See DefaultSettings.php entry for $wgDBservers.' );
}
@@
-431,7
+429,6
@@
class LoadBalancer {
# Create object
$db = new $class( $host, $user, $password, $dbname, 1, $flags );
$db->setLBInfo( $server );
- wfProfileOut( __METHOD__ );
return $db;
}