Change-Id: Ibfa7312993806554f7939b4f5692e30714f71304
$dbw->rollback( __METHOD__ );
}
throw new LocalFileLockError(
$dbw->rollback( __METHOD__ );
}
throw new LocalFileLockError(
- "Could not acquire lock for '{$this->getName()}' ($waited sec)." );
+ "Could not acquire lock for '{$this->getName()} ($waited sec): " .
+ $status->getWikiText( false, false, 'en' )
+ );
}
// Release the lock *after* commit to avoid row-level contention
$this->locked++;
}
// Release the lock *after* commit to avoid row-level contention
$this->locked++;