r50063 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r50062‎ | r50063 | r50064 >
Date:05:23, 30 April 2009
Author:tstarling
Status:deferred
Tags:
Comment:
Log function name for SHOW PROCESSLIST query in getLag().
Modified paths:
  • /trunk/phase3/includes/db/Database.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/db/Database.php
@@ -2135,7 +2135,7 @@
21362136 wfDebug( "getLag: fake slave lagged {$this->mFakeSlaveLag} seconds\n" );
21372137 return $this->mFakeSlaveLag;
21382138 }
2139 - $res = $this->query( 'SHOW PROCESSLIST' );
 2139+ $res = $this->query( 'SHOW PROCESSLIST', __METHOD__ );
21402140 # Find slave SQL thread
21412141 while ( $row = $this->fetchObject( $res ) ) {
21422142 /* This should work for most situations - when default db

Status & tagging log