From: Tim Starling Date: Thu, 30 Apr 2009 05:23:25 +0000 (+0000) Subject: Log function name for SHOW PROCESSLIST query in getLag(). X-Git-Tag: 1.31.0-rc.0~41931 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/membres/message.php?a=commitdiff_plain;h=967eb9b0f07a4652c7161653f12ac98ac22914ce;p=lhc%2Fweb%2Fwiklou.git Log function name for SHOW PROCESSLIST query in getLag(). --- diff --git a/includes/db/Database.php b/includes/db/Database.php index 19abd9974c..7f648626ba 100644 --- a/includes/db/Database.php +++ b/includes/db/Database.php @@ -2135,7 +2135,7 @@ class Database { wfDebug( "getLag: fake slave lagged {$this->mFakeSlaveLag} seconds\n" ); return $this->mFakeSlaveLag; } - $res = $this->query( 'SHOW PROCESSLIST' ); + $res = $this->query( 'SHOW PROCESSLIST', __METHOD__ ); # Find slave SQL thread while ( $row = $this->fetchObject( $res ) ) { /* This should work for most situations - when default db