From 8a98bcb05ade420cb8ca1b7b13b8ff1eb6c3168b Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Fri, 10 Jan 2020 10:49:45 +0000 Subject: [PATCH] Bug 23377: (QA follow-up) Use OVERRIDE_SYSPREF SYSPREF_OVERRIDE unfortunately is not supported ;) Signed-off-by: Marcel de Rooy Signed-off-by: Martin Renvoize Signed-off-by: Joy Nelson (cherry picked from commit a8659229be16dc8d8b2beaae370528afd373192e) Signed-off-by: Lucas Gass --- 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 bf06cc744f..6e34974231 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"); @@ -559,8 +559,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.39.5