oops, removing un-needed $dbh->commit() calls
authorMason James <mtj@liblime.com>
Thu, 21 Feb 2008 01:14:05 +0000 (14:14 +1300)
committerJoshua Ferraro <jmf@liblime.com>
Thu, 21 Feb 2008 02:16:42 +0000 (20:16 -0600)
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
misc/migration_tools/rebuild_nozebra.pl

index 414105a..70d15dc 100755 (executable)
@@ -171,9 +171,7 @@ while (my ($biblionumber) = $sth->fetchrow) {
             }
         }
     }
-   $dbh->commit() if (0 == $i % $commitnum);
 }
-$dbh->commit;
 
 
 print "\nInserting records...\n";
@@ -285,9 +283,7 @@ while (my ($authid) = $sth->fetchrow) {
             }
         }
     }
-   $dbh->commit() if (0 == $i % $commitnum);
 }
-$dbh->commit;