Bugzilla – Attachment 66965 Details for
Bug 13912
Add syspref for default place of publication (country code) for field 008, range 15-17
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 13912: (QA followup) Update database
Bug-13912-QA-followup-Update-database.patch (text/plain), 1.34 KB, created by
Tomás Cohen Arazi (tcohen)
on 2017-09-07 19:27:10 UTC
(
hide
)
Description:
Bug 13912: (QA followup) Update database
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2017-09-07 19:27:10 UTC
Size:
1.34 KB
patch
obsolete
>From 01be06ffa2d9f9e36cffab160635ca2ef61ccf1b Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Thu, 7 Sep 2017 16:18:00 -0300 >Subject: [PATCH] Bug 13912: (QA followup) Update database > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > installer/data/mysql/atomicupdate/bug_13912.perl | 11 +++++++++++ > 1 file changed, 11 insertions(+) > create mode 100644 installer/data/mysql/atomicupdate/bug_13912.perl > >diff --git a/installer/data/mysql/atomicupdate/bug_13912.perl b/installer/data/mysql/atomicupdate/bug_13912.perl >new file mode 100644 >index 0000000000..5d062a61bf >--- /dev/null >+++ b/installer/data/mysql/atomicupdate/bug_13912.perl >@@ -0,0 +1,11 @@ >+$DBversion = 'XXX'; >+if( CheckVersion( $DBversion ) ) { >+ $dbh->do(q{ >+ INSERT IGNORE INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` ) >+ VALUES ( >+ 'DefaultCountryField008','','', >+ 'Fill in the default country code for field 008 Range 15-17 - Place of publication, production, or execution. See <a href=\"http://www.loc.gov/marc/countries/countries_code.html\">MARC Code List for Countries</a>','Free') >+ }); >+ SetVersion($DBversion); >+ print "Upgrade to $DBversion done (Bug 13912: System preference for default place of publication (country code) for field 008, range 15-17)\n"; >+} >-- >2.14.1
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 13912
:
37254
|
37255
|
37261
|
37262
|
37269
|
37270
|
37313
|
37314
|
66963
|
66964
| 66965 |
67235