View | Details | Raw Unified | Return to bug 23377
Collapse All | Expand All

(-)a/misc/migration_tools/bulkmarcimport.pl (-5 / +4 lines)
Lines 159-166 if ((not defined $sourcesubfield) && (not defined $sourcetag)){ Link Here
159
159
160
# Disable logging for the biblios and authorities import operation. It would unnecessarily
160
# Disable logging for the biblios and authorities import operation. It would unnecessarily
161
# slow the import
161
# slow the import
162
$ENV{SYSPREF_OVERRIDE_CataloguingLog} = 0;
162
$ENV{OVERRIDE_SYSPREF_CataloguingLog} = 0;
163
$ENV{SYSPREF_OVERRIDE_AuthoritiesLog} = 0;
163
$ENV{OVERRIDE_SYSPREF_AuthoritiesLog} = 0;
164
164
165
if ($fk_off) {
165
if ($fk_off) {
166
	$dbh->do("SET FOREIGN_KEY_CHECKS = 0");
166
	$dbh->do("SET FOREIGN_KEY_CHECKS = 0");
Lines 558-565 if ($fk_off) { Link Here
558
}
558
}
559
559
560
# Restore CataloguingLog and AuthoritiesLog
560
# Restore CataloguingLog and AuthoritiesLog
561
delete $ENV{SYSPREF_OVERRIDE_CataloguingLog};
561
delete $ENV{OVERRIDE_SYSPREF_CataloguingLog};
562
delete $ENV{SYSPREF_OVERRIDE_AuthoritiesLog};
562
delete $ENV{OVERRIDE_SYSPREF_AuthoritiesLog};
563
563
564
my $timeneeded = gettimeofday - $starttime;
564
my $timeneeded = gettimeofday - $starttime;
565
print "\n$i MARC records done in $timeneeded seconds\n";
565
print "\n$i MARC records done in $timeneeded seconds\n";
566
- 

Return to bug 23377