Index: trunk/phase3/includes/LinkCache.php |
— | — | @@ -153,6 +153,8 @@ |
154 | 154 | $db =& wfGetDB( DB_MASTER ); |
155 | 155 | if ( !( $wgAntiLockFlags & ALF_NO_LINK_LOCK ) ) { |
156 | 156 | $options = array( 'FOR UPDATE' ); |
| 157 | + } else { |
| 158 | + $options = array(); |
157 | 159 | } |
158 | 160 | } else { |
159 | 161 | $db =& wfGetDB( DB_SLAVE ); |