Transaction coverage fix for doDeleteArticleReal
authorAaron Schulz <aschulz@wikimedia.org>
Fri, 30 May 2014 17:03:12 +0000 (10:03 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Fri, 30 May 2014 20:59:45 +0000 (13:59 -0700)
commit37cfdc30d83880f5617176181cf414bdce52bfc2
treeac9c545527401ceef2a8aaf689814748c14d416a
parent4d845e62b2baacc36792c0f18c3f07cb6edab066
Transaction coverage fix for doDeleteArticleReal

* Do the FOR UPDATE select to get the ID *after* BEGIN, otherwise the
  locks will disappear right afterwards with the implicit commit.

Change-Id: Ia531126cb4a86ec7789ceb7327d1c235c7aa979c
includes/WikiPage.php