summaryrefslogtreecommitdiffstats
path: root/sanitycheck.cgi
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2005-11-14 02:32:10 +0100
committerlpsolit%gmail.com <>2005-11-14 02:32:10 +0100
commite4fa51953ec018c733040ccf9a478b2e8aac0bac (patch)
tree9a6f7c55d364dc74747a726f4df0125e9ea69114 /sanitycheck.cgi
parentf0bcc18f7a676230d2d700dd2b56a9dc2620f80b (diff)
downloadbugzilla-e4fa51953ec018c733040ccf9a478b2e8aac0bac.tar.gz
bugzilla-e4fa51953ec018c733040ccf9a478b2e8aac0bac.tar.xz
Bug 301062: [PostgreSQL] whine.pl fails when using PostgreSQL 8.0.x - Patch by Frédéric Buclin <LpSolit@gmail.com> r=mkanat r=manu a=justdave
Diffstat (limited to 'sanitycheck.cgi')
-rwxr-xr-xsanitycheck.cgi4
1 files changed, 2 insertions, 2 deletions
diff --git a/sanitycheck.cgi b/sanitycheck.cgi
index 317464749..7520430a2 100755
--- a/sanitycheck.cgi
+++ b/sanitycheck.cgi
@@ -196,7 +196,7 @@ if (defined $cgi->param('rescanallBugMail')) {
Status("OK, now attempting to send unsent mail");
SendSQL("SELECT bug_id FROM bugs
WHERE (lastdiffed IS NULL OR lastdiffed < delta_ts) AND
- delta_ts < now() - " . $dbh->sql_interval('30 minute') .
+ delta_ts < now() - " . $dbh->sql_interval(30, 'MINUTE') .
" ORDER BY bug_id");
my @list;
while (MoreSQLData()) {
@@ -808,7 +808,7 @@ Status("Checking for unsent mail");
SendSQL("SELECT bug_id " .
"FROM bugs WHERE (lastdiffed IS NULL OR lastdiffed < delta_ts) AND " .
- "delta_ts < now() - " . $dbh->sql_interval('30 minute') .
+ "delta_ts < now() - " . $dbh->sql_interval(30, 'MINUTE') .
" ORDER BY bug_id");
while (@row = FetchSQLData()) {