Fix caller name in PopulateArchiveRevId::checkMysqlAutoIncrementBug
Seeing {closure} in the logs as caller is not helpful
Change-Id: Ie9091805bb4d9c05de93aef065cbbfef56c19e70
This commit is contained in:
parent
2af5b6b086
commit
35cb46bcd7
1 changed files with 2 additions and 2 deletions
|
|
@ -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 );
|
||||
|
|
|
|||
Loading…
Reference in a new issue