From 8d8904192735ff45ffc132966955ab83e1a5eb73 Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Sat, 20 Aug 2005 01:30:22 +0000 Subject: [PATCH] fixed missing branch --- includes/LinkCache.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/includes/LinkCache.php b/includes/LinkCache.php index a6df007184..f5ff7f9423 100644 --- a/includes/LinkCache.php +++ b/includes/LinkCache.php @@ -153,6 +153,8 @@ class LinkCache { $db =& wfGetDB( DB_MASTER ); if ( !( $wgAntiLockFlags & ALF_NO_LINK_LOCK ) ) { $options = array( 'FOR UPDATE' ); + } else { + $options = array(); } } else { $db =& wfGetDB( DB_SLAVE ); -- 2.20.1