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:
bzrmirror%bugzilla.org
2013-12-02 22:46:38 +00:00
parent f72a211292
commit fdbd2df603
2 changed files with 4 additions and 5 deletions

View File

@@ -1 +1 @@
8823
8824

View File

@@ -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');