[bugzilla-gnome-org-extensions] Remove the hack that limited how many traces we'd parse in checksetup.pl.



commit 87a200248252dc5c3666498dfac94e9a1c12a8cf
Author: Max Kanat-Alexander <mkanat everythingsolved com>
Date:   Wed Aug 5 07:04:24 2009 -0500

    Remove the hack that limited how many traces we'd parse in checksetup.pl.

 lib/TraceParser/Hooks.pm |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/lib/TraceParser/Hooks.pm b/lib/TraceParser/Hooks.pm
index 139cb0c..c073993 100644
--- a/lib/TraceParser/Hooks.pm
+++ b/lib/TraceParser/Hooks.pm
@@ -39,14 +39,14 @@ sub install_update_db {
     return if $has_traces;
 
     print "Parsing traces from comments...\n";
-    my $total = 100000; #$dbh->selectrow_array('SELECT COUNT(*) FROM longdescs');
+    my $total = $dbh->selectrow_array('SELECT COUNT(*) FROM longdescs');
 
     if ($dbh->isa('Bugzilla::DB::Mysql')) {
         $dbh->{'mysql_use_result'} = 1;
     }
 
     my $sth = $dbh->prepare('SELECT comment_id, thetext FROM longdescs 
-                           ORDER BY comment_id DESC LIMIT 100000');
+                           ORDER BY comment_id');
     $sth->execute();
     my $count = 1;
     my @traces;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]