Reverted "FOR UPDATE" in 61f246aa786d824d0653522ed679c16be719da80.
authorAaron Schulz <aschulz@wikimedia.org>
Sat, 21 Jul 2012 18:39:18 +0000 (11:39 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Sat, 21 Jul 2012 18:39:30 +0000 (11:39 -0700)
commita8002c66236cc46bcd3a889324c4aa8779582f1d
tree5197e6d01439c2bbff430300b00235781da39626
parent85f3f3d7b679a5bc2bfc8f7f0210ebd8b49af0a3
Reverted "FOR UPDATE" in 61f246aa786d824d0653522ed679c16be719da80.

* Previously, this code would select FOR UPDATE unless ALF_NO_LINK_LOCK
was set in $wgAntiLockFlags (which in fact was set for wmf sites for ages
to reduce contention). In this case, it was just loading from the master,
without locking, and relying on the page_latest check. Now, it just never
selects FOR UPDATE, regardless of the lock flags, relying on page_latest.

Change-Id: Ie6301de4415f56e6be3899cf4ab37924963ce8c4
includes/EditPage.php