Bugzilla – Attachment 42710 Details for
Bug 14472
Wrong ISSN search index in record matching rules
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 14472: (QA followup) fix updatedatabase.pl for multiple ISSN rules
Bug-14472-QA-followup-fix-updatedatabasepl-for-mul.patch (text/plain), 1.31 KB, created by
Tomás Cohen Arazi (tcohen)
on 2015-09-18 15:47:32 UTC
(
hide
)
Description:
Bug 14472: (QA followup) fix updatedatabase.pl for multiple ISSN rules
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2015-09-18 15:47:32 UTC
Size:
1.31 KB
patch
obsolete
>From 7a2816edb146a3586a9754f0e6f3ca6c161bffd4 Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@unc.edu.ar> >Date: Fri, 18 Sep 2015 12:34:45 -0300 >Subject: [PATCH] Bug 14472: (QA followup) fix updatedatabase.pl for multiple > ISSN rules > >If (for some reason) the user has created more than one matching rule >with the 'ISSN' code, the updatedabase.pl script fails, because it was >written with the default data in mind, and didn't consider the scenario >described above. > >Thanks Liz for pointing this out! > >Signed-off-by: Tomas Cohen Arazi <tomascohen@unc.edu.ar> >--- > installer/data/mysql/updatedatabase.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl >index caf4b4f..6d02ff1 100755 >--- a/installer/data/mysql/updatedatabase.pl >+++ b/installer/data/mysql/updatedatabase.pl >@@ -10862,7 +10862,7 @@ if ( CheckVersion($DBversion) ) { > $dbh->do(q{ > UPDATE matchpoints > SET search_index='issn' >- WHERE matcher_id=(SELECT matcher_id FROM marc_matchers WHERE code = 'ISSN') >+ WHERE matcher_id IN (SELECT matcher_id FROM marc_matchers WHERE code = 'ISSN') > }); > print "Upgrade to $DBversion done (Bug 14472: Wrong ISSN search index in record matching rules)\n"; > SetVersion($DBversion); >-- >2.5.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 14472
:
40721
|
40722
|
40724
|
40725
|
40801
|
40840
|
42256
|
42275
|
42276
| 42710