From c49588441a60f480e7fe3fa4f2fe86b3d4e65249 Mon Sep 17 00:00:00 2001 From: "terry%mozilla.org" Date: Mon, 11 Oct 1999 18:23:21 +0000 Subject: [PATCH] Make "rescanall" only check bugs which have changed in the last two days. git-svn-id: svn://10.0.0.236/trunk@50345 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/webtools/bugzilla/processmail | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mozilla/webtools/bugzilla/processmail b/mozilla/webtools/bugzilla/processmail index 7cb3c7d6e41..6abd157aca0 100755 --- a/mozilla/webtools/bugzilla/processmail +++ b/mozilla/webtools/bugzilla/processmail @@ -369,7 +369,7 @@ if ($#ARGV == 1) { if ($ARGV[0] eq "rescanall") { print "
Collecting bug ids...\n"; - SendSQL("select bug_id from bugs order by bug_id"); + SendSQL("select bug_id from bugs where to_days(now()) - to_days(delta_ts) <= 2 order by bug_id"); my @list; while (my @row = FetchSQLData()) { push @list, $row[0];