Bugzilla – Attachment 15965 Details for
Bug 9767
Fix for updatedatabase.pl (mixed version numbers)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 9767: Fix for updatedatabase.pl (mixed version numbers)
Bug-9767-Fix-for-updatedatabasepl-mixed-version-nu.patch (text/plain), 1.70 KB, created by
Marcel de Rooy
on 2013-03-08 08:00:16 UTC
(
hide
)
Description:
Bug 9767: Fix for updatedatabase.pl (mixed version numbers)
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2013-03-08 08:00:16 UTC
Size:
1.70 KB
patch
obsolete
>From 22f08af7ef78485fb9b8e8ae4c344160df919ae2 Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Fri, 8 Mar 2013 08:53:52 +0100 >Subject: [PATCH] Bug 9767: Fix for updatedatabase.pl (mixed version numbers) >Content-Type: text/plain; charset="utf-8" > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > installer/data/mysql/updatedatabase.pl | 13 +++++++------ > 1 files changed, 7 insertions(+), 6 deletions(-) > >diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl >index 405e033..041040a 100755 >--- a/installer/data/mysql/updatedatabase.pl >+++ b/installer/data/mysql/updatedatabase.pl >@@ -6444,6 +6444,13 @@ if ( CheckVersion($DBversion) ) { > SetVersion($DBversion); > } > >+$DBversion = "3.11.00.024"; >+if ( CheckVersion($DBversion) ) { >+ $dbh->do("INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES('OpacItemLocation','callnum','Show the shelving location of items in the opac','callnum|ccode|location','Choice');"); >+ print "Upgrade to $DBversion done (Bug 5079: Add OpacItemLocation syspref)\n"; >+ SetVersion ($DBversion); >+} >+ > $DBversion = "3.11.00.025"; > if ( CheckVersion($DBversion) ) { > $dbh->do( >@@ -6469,12 +6476,6 @@ if ( CheckVersion($DBversion) ) { > SetVersion($DBversion); > } > >-$DBversion = "3.11.00.024"; >-if ( CheckVersion($DBversion) ) { >- $dbh->do("INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES('OpacItemLocation','callnum','Show the shelving location of items in the opac','callnum|ccode|location','Choice');"); >- print "Upgrade to $DBversion done (Bug 5079: Add OpacItemLocation syspref)\n"; >- SetVersion ($DBversion); >-} > > =head1 FUNCTIONS > >-- >1.7.7.6
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 9767
: 15965