Bugzilla – Attachment 45822 Details for
Bug 5572
Improve C4::AuthoritiesMarc->merge() + syspref AuthCleanBiblios
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 5572: (follow-up) atomic update
Bug-5572-follow-up-atomic-update.patch (text/plain), 2.43 KB, created by
Bernardo Gonzalez Kriegel
on 2015-12-18 13:49:23 UTC
(
hide
)
Description:
Bug 5572: (follow-up) atomic update
Filename:
MIME Type:
Creator:
Bernardo Gonzalez Kriegel
Created:
2015-12-18 13:49:23 UTC
Size:
2.43 KB
patch
obsolete
>From 58e318457e02704b07f09fc75e278aadcabdac10 Mon Sep 17 00:00:00 2001 >From: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> >Date: Fri, 18 Dec 2015 10:26:55 -0300 >Subject: [PATCH] Bug 5572: (follow-up) atomic update > >--- > .../mysql/atomicupdate/bug_5572-add-AuthCleanBiblio-pref.sql | 12 ++++++++++++ > installer/data/mysql/updatedatabase.pl | 10 ---------- > 2 files changed, 12 insertions(+), 10 deletions(-) > create mode 100644 installer/data/mysql/atomicupdate/bug_5572-add-AuthCleanBiblio-pref.sql > >diff --git a/installer/data/mysql/atomicupdate/bug_5572-add-AuthCleanBiblio-pref.sql b/installer/data/mysql/atomicupdate/bug_5572-add-AuthCleanBiblio-pref.sql >new file mode 100644 >index 0000000..8a2323e >--- /dev/null >+++ b/installer/data/mysql/atomicupdate/bug_5572-add-AuthCleanBiblio-pref.sql >@@ -0,0 +1,12 @@ >+INSERT IGNORE INTO systempreferences (variable,value,explanation,options,type) >+VALUES ('AuthCleanBiblios','0','If ON, attached biblio records related fields are cleaned when an authority is updated','','YesNo'); >+ >+-- $DBversion = "3.23.00.XXX"; >+-- if ( CheckVersion($DBversion) ) { >+-- $dbh->do(q{ >+-- INSERT IGNORE INTO systempreferences (variable,value,explanation,options,type) >+-- VALUES ('AuthCleanBiblios','0','If ON, attached biblio records related fields are cleaned when an authority is updated','','YesNo') >+-- }); >+-- print "Upgrade to $DBversion done (Bug 5572: Cleaning attached biblio records when updating an authority)\n"; >+-- SetVersion($DBversion); >+-- } >diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl >index 344a2af..f8ab41e 100755 >--- a/installer/data/mysql/updatedatabase.pl >+++ b/installer/data/mysql/updatedatabase.pl >@@ -11390,16 +11390,6 @@ if ( CheckVersion($DBversion) ) { > SetVersion ($DBversion); > } > >-$DBversion = "3.23.00.XXX"; >-if ( CheckVersion($DBversion) ) { >- $dbh->do(q{ >- INSERT IGNORE INTO systempreferences (variable,value,explanation,options,type) >- VALUES ('AuthCleanBiblios','0','If ON, attached biblio records related fields are cleaned when an authority is updated','','YesNo') >- }); >- print "Upgrade to $DBversion done (Bug 5572: Cleaning attached biblio records when updating an authority)\n"; >- SetVersion($DBversion); >-} >- > # DEVELOPER PROCESS, search for anything to execute in the db_update directory > # SEE bug 13068 > # if there is anything in the atomicupdate, read and execute it. >-- >1.9.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 5572
:
2941
|
4730
|
7264
|
18387
|
44610
|
44628
|
45515
|
45821
| 45822 |
45823