Bugzilla – Attachment 15004 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]
[SIGNED-OFF] Bug 9520 - Update default LOC Z39.50 target
Bug-9520---Update-default-LOC-Z3950-target.patch (text/plain), 1.20 KB, created by
Kyle M Hall (khall)
on 2013-02-01 13:39:03 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 9520 - Update default LOC Z39.50 target
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2013-02-01 13:39:03 UTC
Size:
1.20 KB
patch
obsolete
>From 44244ae3d63b25ef87bcb5b55e4b8762336a9a40 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 - Update default LOC Z39.50 target > >This patch updates (if present) target settings >of Library of Congress Z39.50 server. > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > installer/data/mysql/updatedatabase.pl | 8 ++++++++ > 1 files changed, 8 insertions(+), 0 deletions(-) > >diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl >index 5571d1e..892d68c 100755 >--- a/installer/data/mysql/updatedatabase.pl >+++ b/installer/data/mysql/updatedatabase.pl >@@ -6390,6 +6390,14 @@ if ( CheckVersion($DBversion) ) { > SetVersion ($DBversion); > } > >+$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', type = 'USMARC', encoding = 'utf8' WHERE name = 'LIBRARY OF CONGRESS'"); >+ print "Upgrade to $DBversion done (Bug 9520 - Update default LOC Z39.50 target)\n"; >+ SetVersion($DBversion); >+} >+ >+ > =head1 FUNCTIONS > > =head2 TableExists($table) >-- >1.7.2.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