Bugzilla – Attachment 4678 Details for
Bug 6428
refered column 'items.coded_location_qualifier' does not exist
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for existing Kohas
0001-Bug-6428-refered-column-items.coded_location_qualifi.patch (text/plain), 1.25 KB, created by
Mason James
on 2011-07-20 15:34:44 UTC
(
hide
)
Description:
patch for existing Kohas
Filename:
MIME Type:
Creator:
Mason James
Created:
2011-07-20 15:34:44 UTC
Size:
1.25 KB
patch
obsolete
>From c8981033adcd09f90fd2c4165c59ba8099951b72 Mon Sep 17 00:00:00 2001 >From: James, Mason <mtj@kohaaloha.com> >Date: Thu, 21 Jul 2011 03:27:13 +1200 >Subject: [PATCH] Bug 6428 - refered column 'items.coded_location_qualifier' does not exist > modified: installer/data/mysql/updatedatabase.pl >Content-Type: text/plain; charset="utf-8" >http://koha-community.org > >--- > installer/data/mysql/updatedatabase.pl | 7 +++++++ > 1 files changed, 7 insertions(+), 0 deletions(-) > >diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl >index 9cbc8db..27d655a 100755 >--- a/installer/data/mysql/updatedatabase.pl >+++ b/installer/data/mysql/updatedatabase.pl >@@ -4370,6 +4370,13 @@ if (C4::Context->preference("Version") < TransformToNum($DBversion)) { > SetVersion($DBversion); > } > >+$DBversion = "3.05.00.xxx"; >+if (C4::Context->preference("Version") < TransformToNum($DBversion)) { >+ $dbh->do("UPDATE marc_subfield_structure SET kohafield = NULL WHERE tagfield = 952 AND tagsubfield = 'f' AND kohafield = items.coded_location_qualifier'"); >+ print "Upgrade to $DBversion done (remove non-existant 'items.coded_location_qualifier' column)\n"; >+ SetVersion($DBversion); >+} >+ > =head1 FUNCTIONS > > =head2 DropAllForeignKeys($table) >-- >1.7.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 6428
:
4310
|
4474
|
4678
|
4835
|
5793
|
5795
|
13005
|
13008
|
13222
|
13387
|
13388
|
13391
|
13401
|
13419
|
13420