BlockRestriction::update() unnecessarily does a SELECT on the page table.
authorDavid Barratt <dbarratt@wikimedia.org>
Thu, 1 Nov 2018 19:37:46 +0000 (15:37 -0400)
committerDavid Barratt <dbarratt@wikimedia.org>
Thu, 1 Nov 2018 19:37:46 +0000 (15:37 -0400)
commit108710456829010aa666ab3241d52f22a974bed2
tree43a67718291c9543519fb6e9363c2b6d6868336d
parentee975d6d1a376bb08d2b1731f97abc96f6e26b1d
BlockRestriction::update() unnecessarily does a SELECT on the page table.

This unnecessary SELECT causes a performence issue where it takes an
exceedingly long time to perform an update.

Bug: T208526
Change-Id: I0238234146fc838067019351ea97046a7d37d6fc
includes/block/BlockRestriction.php