Bug 10326: bulkmarcimport.pl doesn't restore value of CataloguingLog syspref

To test:

0) Don't apply the patch yet.
1) Have the CataloguingLog system preference set to 'Log'.
2) Import a file of bibliographic records with bulkmarcimport.pl.
3) Check the state of CataloguingLog system preference -- it will be
   set to 'Don't log'.
4) Apply the patch.
5) Repeat steps 1-3.  The CataloguingLog system preference
   will be 'Log'.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit 9d02840967)
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
(cherry picked from commit 6580710083)
Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
(cherry picked from commit 6580710083)

Signed-off-by: Chris Hall <followingthepath@gmail.com>
(cherry picked from commit ca17520471)
This commit is contained in:
Janusz Kaczmarek 2013-05-24 14:21:36 +03:00 committed by Chris Hall
parent 0031a5a3e4
commit 8ffc9bfba8
1 changed files with 1 additions and 1 deletions

View File

@ -388,7 +388,7 @@ RECORD: while ( ) {
last if $i == $number;
}
$dbh->commit();
$dbh->{AutoCommit} = 1;
if ($fk_off) {