http://www.mediawiki.org/wiki/Special:Code/MediaWiki/90773
Revision: 90773
Author: reedy
Date: 2011-06-25 16:30:32 +0000 (Sat, 25 Jun 2011)
Log Message:
-----------
Hack followup to r90643
Comment out the call SHOW SLAVE STATUS for getting replag, leaving the use
processlist
Not sure when Tim/someone else will look at it, so easier to just hack the bad
code for the moment, so people can develop/test etc
Modified Paths:
--------------
trunk/phase3/includes/db/DatabaseMysql.php
Modified: trunk/phase3/includes/db/DatabaseMysql.php
===================================================================
--- trunk/phase3/includes/db/DatabaseMysql.php 2011-06-25 16:15:44 UTC (rev
90772)
+++ trunk/phase3/includes/db/DatabaseMysql.php 2011-06-25 16:30:32 UTC (rev
90773)
@@ -365,9 +365,9 @@
return $this->mFakeSlaveLag;
}
- if ( version_compare( $this->getServerVersion(), '4.1.9', '>='
) ) {
+ /*if ( version_compare( $this->getServerVersion(), '4.1.9',
'>=' ) ) {
return $this->getLagFromSlaveStatus();
- } else {
+ } else */{
return $this->getLagFromProcesslist();
}
}
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs