r104162 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r104161
|
r104162
|
r104163
>
Date:
13:51, 24 November 2011
Author:
catrope
Status:
ok
Tags:
Comment:
Use INSERT IGNORE in GlobalUsage::copyLocalImagelinks(), was throwing DB errors on Commons. The other insert() calls already have IGNORE set.
Modified paths:
/trunk/extensions/GlobalUsage/GlobalUsage_body.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/extensions/GlobalUsage/GlobalUsage_body.php
—
—
@@ -112,7 +112,7 @@
113
113
'gil_to' => $row->il_to,
114
114
);
115
115
}
116
- $this->db->insert( 'globalimagelinks', $insert, __METHOD__ );
116
+ $this->db->insert( 'globalimagelinks', $insert, __METHOD__, array( 'IGNORE' ) );
117
117
}
118
118
119
119
/**
Follow-up revisions
Revision
Commit summary
Author
Date
r104163
1.18wmf1: MFT
r104162
catrope
13:52, 24 November 2011
r104178
REL1_18 MFT
r100516
,
r103675
,
r104049
,
r104162
reedy
16:20, 24 November 2011
Status & tagging log
16:22, 24 November 2011
Reedy
(
talk
|
contribs
)
changed the
tags
for r104162
[
removed:
1.18]
16:17, 24 November 2011
Reedy
(
talk
|
contribs
)
changed the
status
of r104162
[
removed:
new
added:
ok]
13:55, 24 November 2011
Catrope
(
talk
|
contribs
)
changed the
tags
for r104162
[
added:
1.18]