Fix table locking in WikiPage::doDeleteArticleReal
authorGergő Tisza <tgr.huwiki@gmail.com>
Thu, 28 Jun 2018 16:33:50 +0000 (18:33 +0200)
committerGergő Tisza <tgr.huwiki@gmail.com>
Thu, 28 Jun 2018 16:33:50 +0000 (18:33 +0200)
commit9f4da9f177ea25bf5d912156d167c5f1f1aa251e
tree9e9ed37e670342a856015bae033b54a72eb1b904
parentc04f2eb05d1babda486275fe88d872f7b0393d30
Fix table locking in WikiPage::doDeleteArticleReal

This reverts a recent change that caused the table array and the
join array to have mismatching keys, so that the select was a
cartesian product of page and revision_comment_temp (ie. any
page deletion locked the whole revision_comment_temp table).

Bug: T198350
Change-Id: Ifb6f0409d4f210d3ecb1da03f59aaba7e229e89e
includes/page/WikiPage.php