[Collab-qa-commits] r1532 - udd/udd

Lucas Nussbaum lucas at alioth.debian.org
Fri Jul 24 10:30:55 UTC 2009


Author: lucas
Date: 2009-07-24 10:30:54 +0000 (Fri, 24 Jul 2009)
New Revision: 1532

Modified:
   udd/udd/bugs_gatherer.pl
Log:
analyze before commit in bugs

Modified: udd/udd/bugs_gatherer.pl
===================================================================
--- udd/udd/bugs_gatherer.pl	2009-07-23 14:05:39 UTC (rev 1531)
+++ udd/udd/bugs_gatherer.pl	2009-07-24 10:30:54 UTC (rev 1532)
@@ -289,9 +289,6 @@
 	}
 	print "Inserting bugs: ",(time() - $t),"s\n" if $timing;
 
-	$dbh->commit();
-	print "Committing bugs: ",(time() - $t),"s\n" if $timing;
-
 	foreach my $postfix (qw{_packages _merged_with _found_in _fixed_in _tags}, '') {
 		my $sth = $dbh->prepare("ANALYZE $table$postfix");
 		$sth->execute() or die $!;
@@ -301,6 +298,9 @@
 	$sth->execute() or die $!;
 
 	print "Analyzing bugs: ",(time() - $t),"s\n" if $timing;
+
+	$dbh->commit();
+	print "Committing bugs: ",(time() - $t),"s\n" if $timing;
 }
 
 sub main {




More information about the Collab-qa-commits mailing list