Bug 23377: (QA follow-up) Use OVERRIDE_SYSPREF
SYSPREF_OVERRIDE unfortunately is not supported ;) Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
parent
f036038318
commit
263c013121
1 changed files with 4 additions and 4 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue