Bugzilla – Attachment 15769 Details for
Bug 9520
Update default LOC Z39.50 target
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 9520 -[Revised] - Update default LOC Z39.50 target
Bug-9520--Revised---Update-default-LOC-Z3950-targe.patch (text/plain), 1.42 KB, created by
Bernardo Gonzalez Kriegel
on 2013-02-28 14:33:32 UTC
(
hide
)
Description:
Bug 9520 -[Revised] - Update default LOC Z39.50 target
Filename:
MIME Type:
Creator:
Bernardo Gonzalez Kriegel
Created:
2013-02-28 14:33:32 UTC
Size:
1.42 KB
patch
obsolete
>From 18738736d62fe055c6efeca70804a1d06dceb00b Mon Sep 17 00:00:00 2001 >From: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> >Date: Thu, 31 Jan 2013 16:11:01 -0300 >Subject: [PATCH] Bug 9520 -[Revised] - Update default LOC Z39.50 target > >This patch updates (if present) target settings >of Library of Congress Z39.50 server. > >Revision: Was trying to update wrong column 'type', >now correct column 'syntax'. > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > installer/data/mysql/updatedatabase.pl | 6 ++++++ > 1 file changed, 6 insertions(+) > >diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl >index a44e4e8..1937868 100755 >--- a/installer/data/mysql/updatedatabase.pl >+++ b/installer/data/mysql/updatedatabase.pl >@@ -6434,6 +6434,12 @@ if ( CheckVersion($DBversion) ) { > "INSERT IGNORE INTO systempreferences (variable,value,explanation,options,type) VALUES('Persona',0,'Use Mozilla Persona for login','','YesNo')" > ); > print "Upgrade to $DBversion done (Bug 9587 - Allow login via Persona)\n"; >+} >+ >+$DBversion = "3.11.00.XXX"; >+if (C4::Context->preference("Version") < TransformToNum($DBversion)) { >+ $dbh->do("UPDATE z3950servers SET host = 'lx2.loc.gov', port = 210, db = 'LCDB', syntax = 'USMARC', encoding = 'utf8' WHERE name = 'LIBRARY OF CONGRESS'"); >+ print "Upgrade to $DBversion done (Bug 9520 - Update default LOC Z39.50 target)\n"; > SetVersion($DBversion); > } > >-- >1.7.9.5
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 9520
:
14983
|
15004
|
15769
|
15771