r104163 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r104162‎ | r104163 | r104164 >
Date:13:52, 24 November 2011
Author:catrope
Status:ok
Tags:
Comment:
1.18wmf1: MFT r104162
Modified paths:
  • /branches/wmf/1.18wmf1/extensions/GlobalUsage/GlobalUsage_body.php (modified) (history)

Diff [purge]

Index: branches/wmf/1.18wmf1/extensions/GlobalUsage/GlobalUsage_body.php
@@ -112,7 +112,7 @@
113113 'gil_to' => $row->il_to,
114114 );
115115 }
116 - $this->db->insert( 'globalimagelinks', $insert, __METHOD__ );
 116+ $this->db->insert( 'globalimagelinks', $insert, __METHOD__, array( 'IGNORE' ) );
117117 }
118118
119119 /**

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r104162Use INSERT IGNORE in GlobalUsage::copyLocalImagelinks(), was throwing DB erro...catrope13:51, 24 November 2011

Status & tagging log