Bugzilla – Attachment 20458 Details for
Bug 10550
Fix database typo wthdrawn
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 10550: Merge 2 updatedatabase entries into 1
Bug-10550-Merge-2-updatedatabase-entries-into-1.patch (text/plain), 1.30 KB, created by
Jonathan Druart
on 2013-08-19 13:09:53 UTC
(
hide
)
Description:
Bug 10550: Merge 2 updatedatabase entries into 1
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2013-08-19 13:09:53 UTC
Size:
1.30 KB
patch
obsolete
>From 028c70dc8f44ebe08fb7ba35b8e3c84b41d7b59a Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Mon, 19 Aug 2013 15:05:49 +0200 >Subject: [PATCH] Bug 10550: Merge 2 updatedatabase entries into 1 > >Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> >--- > installer/data/mysql/updatedatabase.pl | 9 +++------ > 1 file changed, 3 insertions(+), 6 deletions(-) > >diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl >index 19fe04c..1aad839 100755 >--- a/installer/data/mysql/updatedatabase.pl >+++ b/installer/data/mysql/updatedatabase.pl >@@ -7081,13 +7081,10 @@ if ( CheckVersion($DBversion) ) { > UPDATE saved_sql SET savedsql = REPLACE(savedsql, 'wthdrawn', 'withdrawn') > }); > >- print "Upgrade to $DBversion done (Bug 10550 - Fix database typo wthdrawn)\n"; >- SetVersion($DBversion); >-} >+ $dbh->do(q{ >+ UPDATE marc_subfield_structure SET kohafield = 'items.withdrawn' WHERE kohafield = 'items.wthdrawn' >+ }); > >-$DBversion = "3.13.00.XXX"; >-if ( CheckVersion($DBversion) ) { >- $dbh->do("UPDATE marc_subfield_structure SET kohafield = 'items.withdrawn' WHERE kohafield = 'items.wthdrawn'"); > print "Upgrade to $DBversion done (Bug 10550 - Fix database typo wthdrawn)\n"; > SetVersion($DBversion); > } >-- >1.7.10.4
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 10550
:
19480
|
19481
|
19502
|
20178
|
20179
|
20457
| 20458