From 967eb9b0f07a4652c7161653f12ac98ac22914ce Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Thu, 30 Apr 2009 05:23:25 +0000 Subject: [PATCH] Log function name for SHOW PROCESSLIST query in getLag(). --- includes/db/Database.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.20.1