Bug 283031: Sanitycheck can't send un-sent mail (SQL error)

Patch by Joel Peshkin <bugreport@peshkin.net>
r=wurblzap,a=myk
This commit is contained in:
bugreport%peshkin.net 2005-02-26 06:34:20 +00:00
parent 1bf2497189
commit 1d4b744179

View File

@ -178,7 +178,7 @@ if (defined $cgi->param('rescanallBugMail')) {
Status("OK, now attempting to send unsent mail");
SendSQL("SELECT bug_id FROM bugs WHERE lastdiffed < delta_ts AND
delta_ts < date_sub(now(), " . $dbh->sql_interval('30 minute') .
" ORDER BY bug_id");
") ORDER BY bug_id");
my @list;
while (MoreSQLData()) {
push (@list, FetchOneColumn());