Bug 944583 - sendunsentbugmail.pl has bad SQL
r=glob, a=sgreen git-svn-id: svn://10.0.0.236/trunk@265129 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1 +1 @@
|
||||
8823
|
||||
8824
|
||||
@@ -17,10 +17,9 @@ use Bugzilla::BugMail;
|
||||
my $dbh = Bugzilla->dbh;
|
||||
|
||||
my $list = $dbh->selectcol_arrayref(
|
||||
'SELECT bug_id FROM bugs
|
||||
WHERE lastdiffed IS NULL
|
||||
OR lastdiffed < delta_ts
|
||||
AND delta_ts < '
|
||||
'SELECT bug_id FROM bugs
|
||||
WHERE (lastdiffed IS NULL OR lastdiffed < delta_ts)
|
||||
AND delta_ts < '
|
||||
. $dbh->sql_date_math('NOW()', '-', 30, 'MINUTE') .
|
||||
' ORDER BY bug_id');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user