From 8d7d6e92bc8adca5c69164bc456cb0e91062376c Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Tue, 28 Feb 2006 05:16:31 +0000 Subject: [PATCH] documentation --- includes/LinksUpdate.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/LinksUpdate.php b/includes/LinksUpdate.php index d74574e4fd..bcfb0c340f 100644 --- a/includes/LinksUpdate.php +++ b/includes/LinksUpdate.php @@ -167,8 +167,8 @@ class LinksUpdate { $this->mDb->delete( $table, array( $fromField => $this->mId ), $fname ); if ( count( $insertions ) ) { # The link array was constructed without FOR UPDATE, so there may be collisions - # Ignoring for now, I'm not sure if that causes problems or not, but I'm fairly - # sure it's better than without IGNORE + # This may cause minor link table inconsistencies, which is better than + # crippling the site with lock contention. $this->mDb->insert( $table, $insertions, $fname, array( 'IGNORE' ) ); } } -- 2.20.1