Bugzilla – Attachment 97184 Details for
Bug 23377
bulkmarcimport.pl disables syspref caching
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 23377: (QA follow-up) Use OVERRIDE_SYSPREF
Bug-23377-QA-follow-up-Use-OVERRIDESYSPREF.patch (text/plain), 1.48 KB, created by
Marcel de Rooy
on 2020-01-10 10:53:44 UTC
(
hide
)
Description:
Bug 23377: (QA follow-up) Use OVERRIDE_SYSPREF
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2020-01-10 10:53:44 UTC
Size:
1.48 KB
patch
obsolete
>From e6cdacc33c377e67218ad87e5aeef9877ea2d4d2 Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Fri, 10 Jan 2020 10:49:45 +0000 >Subject: [PATCH] Bug 23377: (QA follow-up) Use OVERRIDE_SYSPREF >Content-Type: text/plain; charset=utf-8 > >SYSPREF_OVERRIDE unfortunately is not supported ;) > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > misc/migration_tools/bulkmarcimport.pl | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > >diff --git a/misc/migration_tools/bulkmarcimport.pl b/misc/migration_tools/bulkmarcimport.pl >index a7a4ca10f4..6025580a73 100755 >--- a/misc/migration_tools/bulkmarcimport.pl >+++ b/misc/migration_tools/bulkmarcimport.pl >@@ -159,8 +159,8 @@ if ((not defined $sourcesubfield) && (not defined $sourcetag)){ > > # Disable logging for the biblios and authorities import operation. It would unnecessarily > # slow the import >-$ENV{SYSPREF_OVERRIDE_CataloguingLog} = 0; >-$ENV{SYSPREF_OVERRIDE_AuthoritiesLog} = 0; >+$ENV{OVERRIDE_SYSPREF_CataloguingLog} = 0; >+$ENV{OVERRIDE_SYSPREF_AuthoritiesLog} = 0; > > if ($fk_off) { > $dbh->do("SET FOREIGN_KEY_CHECKS = 0"); >@@ -558,8 +558,8 @@ if ($fk_off) { > } > > # Restore CataloguingLog and AuthoritiesLog >-delete $ENV{SYSPREF_OVERRIDE_CataloguingLog}; >-delete $ENV{SYSPREF_OVERRIDE_AuthoritiesLog}; >+delete $ENV{OVERRIDE_SYSPREF_CataloguingLog}; >+delete $ENV{OVERRIDE_SYSPREF_AuthoritiesLog}; > > my $timeneeded = gettimeofday - $starttime; > print "\n$i MARC records done in $timeneeded seconds\n"; >-- >2.11.0
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 23377
:
91898
|
97143
|
97183
| 97184