From: Aaron Schulz Date: Thu, 26 Feb 2015 23:45:29 +0000 (-0800) Subject: Made "maxAffected" query expectation actually apply X-Git-Tag: 1.31.0-rc.0~12258 X-Git-Url: http://git.cyclocoop.org/url?a=commitdiff_plain;h=2762888e0d0ee50dc171eca771285e7c8a2ed679;p=lhc%2Fweb%2Fwiklou.git Made "maxAffected" query expectation actually apply Change-Id: Ib7796fe0975b50b96c5e1d53384079735eea881d --- diff --git a/includes/MediaWiki.php b/includes/MediaWiki.php index c21f5e9696..9428d4992d 100644 --- a/includes/MediaWiki.php +++ b/includes/MediaWiki.php @@ -497,6 +497,7 @@ class MediaWiki { $trxProfiler = Profiler::instance()->getTransactionProfiler(); $trxProfiler->setExpectation( 'masterConns', 0, __METHOD__ ); $trxProfiler->setExpectation( 'writes', 0, __METHOD__ ); + } else { $trxProfiler->setExpectation( 'maxAffected', 500, __METHOD__ ); }