don't commit with DEBUG=1
authorDobrica Pavlinusic <dpavlin@rot13.org>
Tue, 22 Jul 2014 10:18:21 +0000 (12:18 +0200)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Tue, 22 Jul 2014 10:18:21 +0000 (12:18 +0200)
ferweb-import-report.pl

index 2e7a889..20960af 100755 (executable)
@@ -81,6 +81,6 @@ while( my $row = $s->fetchrow_hashref ) {
 
 }
 
-$k->commit;
+$k->commit unless $ENV{DEBUG};
 
 warn "# stat ", dump( $stat ),$/;