Fix caller name in PopulateArchiveRevId::checkMysqlAutoIncrementBug

Seeing {closure} in the logs as caller is not helpful

Change-Id: Ie9091805bb4d9c05de93aef065cbbfef56c19e70
This commit is contained in:
Umherirrender 2018-09-30 15:30:16 +02:00
parent 2af5b6b086
commit 35cb46bcd7

View file

@ -116,8 +116,8 @@ class PopulateArchiveRevId extends LoggedUpdateMaintenance {
$toDelete[] = $id;
$maxId = max(
(int)$dbw->selectField( 'archive', 'MAX(ar_rev_id)', [], __METHOD__ ),
(int)$dbw->selectField( 'slots', 'MAX(slot_revision_id)', [], __METHOD__ )
(int)$dbw->selectField( 'archive', 'MAX(ar_rev_id)', [], $fname ),
(int)$dbw->selectField( 'slots', 'MAX(slot_revision_id)', [], $fname )
);
if ( $id <= $maxId ) {
$dbw->insert( 'revision', [ 'rev_id' => $maxId + 1 ] + self::$dummyRev, $fname );