From: lpsolit%gmail.com <> Date: Mon, 19 Dec 2005 03:40:39 +0000 (+0000) Subject: Bug 305968: [PostgreSQL] Comparison between TIMESTAMP and TIMESTAMP(0) prevents bugma... X-Git-Tag: bugzilla-2.22rc1~84 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7efc01d055f62c6516afd9f9ddc859c889b6e032;p=thirdparty%2Fbugzilla.git Bug 305968: [PostgreSQL] Comparison between TIMESTAMP and TIMESTAMP(0) prevents bugmail delivery - Patch by Emmanuel Seyman r=mkanat a=justdave --- diff --git a/Bugzilla/BugMail.pm b/Bugzilla/BugMail.pm index 10bdf3b9ee..69fb7b7b7f 100644 --- a/Bugzilla/BugMail.pm +++ b/Bugzilla/BugMail.pm @@ -138,7 +138,7 @@ sub ProcessOneBug { my %values = %{$dbh->selectrow_hashref( 'SELECT ' . join(',', @::log_columns) . ', - lastdiffed AS start, NOW() AS end + lastdiffed AS start, LOCALTIMESTAMP(0) AS end FROM bugs WHERE bug_id = ?', undef, $id)};