From: Aaron Schulz Date: Tue, 20 Mar 2018 14:46:16 +0000 (-0700) Subject: rdbms: fix bogus $fname parameter in LoadMonitorMySQL X-Git-Tag: 1.31.0-rc.0~323^2 X-Git-Url: http://git.cyclocoop.org/fichier?a=commitdiff_plain;h=1e5b4132599b7720439032b43a2eec87959a2890;p=lhc%2Fweb%2Fwiklou.git rdbms: fix bogus $fname parameter in LoadMonitorMySQL Change-Id: Ib8862532362da148ddd6296646fba7483c6463d5 --- diff --git a/includes/libs/rdbms/loadmonitor/LoadMonitorMySQL.php b/includes/libs/rdbms/loadmonitor/LoadMonitorMySQL.php index 98cff6d77a..1fbc117c14 100644 --- a/includes/libs/rdbms/loadmonitor/LoadMonitorMySQL.php +++ b/includes/libs/rdbms/loadmonitor/LoadMonitorMySQL.php @@ -51,7 +51,7 @@ class LoadMonitorMySQL extends LoadMonitor { $weight = 1.0; if ( $this->warmCacheRatio > 0 ) { - $res = $conn->query( 'SHOW STATUS', false ); + $res = $conn->query( 'SHOW STATUS', __METHOD__ ); $s = $res ? $conn->fetchObject( $res ) : false; if ( $s === false ) { $host = $this->parent->getServerName( $index );