summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2005-12-19 04:40:39 +0100
committerlpsolit%gmail.com <>2005-12-19 04:40:39 +0100
commit7efc01d055f62c6516afd9f9ddc859c889b6e032 (patch)
tree9c87ef18a5a138bde9c0432c45518e3b9a28c6f8
parent7123d34c497099b4228cfe49b547b6c725875ced (diff)
downloadbugzilla-7efc01d055f62c6516afd9f9ddc859c889b6e032.tar.gz
bugzilla-7efc01d055f62c6516afd9f9ddc859c889b6e032.tar.xz
Bug 305968: [PostgreSQL] Comparison between TIMESTAMP and TIMESTAMP(0) prevents bugmail delivery - Patch by Emmanuel Seyman <eseyman@linagora.com> r=mkanat a=justdave
-rw-r--r--Bugzilla/BugMail.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/BugMail.pm b/Bugzilla/BugMail.pm
index 10bdf3b9e..69fb7b7b7 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)};