[bugzilla-gnome-org-extensions] Remove some debugging code from install-update_db.pl.
- From: Krzesimir Nowak <krnowak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [bugzilla-gnome-org-extensions] Remove some debugging code from install-update_db.pl.
- Date: Thu, 20 Nov 2014 22:12:35 +0000 (UTC)
commit bb23312ec547f469ec0b6286a270c3af6a977a01
Author: Max Kanat-Alexander <mkanat everythingsolved com>
Date: Wed Aug 5 02:25:39 2009 -0500
Remove some debugging code from install-update_db.pl.
lib/TraceParser/Hooks.pm | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/lib/TraceParser/Hooks.pm b/lib/TraceParser/Hooks.pm
index dd07e37..306511b 100644
--- a/lib/TraceParser/Hooks.pm
+++ b/lib/TraceParser/Hooks.pm
@@ -38,13 +38,14 @@ sub install_update_db {
return if $has_traces;
print "Parsing traces from comments...\n";
- my $total = 50000; #$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
50000');
+ my $sth = $dbh->prepare('SELECT comment_id, thetext FROM longdescs
+ 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]