diff options
author | mkanat%bugzilla.org <> | 2007-12-12 07:51:14 +0000 |
---|---|---|
committer | mkanat%bugzilla.org <> | 2007-12-12 07:51:14 +0000 |
commit | 25de3add9dedd00d20ff9e35a5d20f3163ee9437 (patch) | |
tree | 03587d62848baa9c2ed78387a60189bc1f8b25ee /Bugzilla/BugMail.pm | |
parent | 9e83ca098cfe7cb817568510a97d4ad375f4131b (diff) | |
download | bugs-25de3add9dedd00d20ff9e35a5d20f3163ee9437.tar bugs-25de3add9dedd00d20ff9e35a5d20f3163ee9437.tar.gz bugs-25de3add9dedd00d20ff9e35a5d20f3163ee9437.tar.bz2 bugs-25de3add9dedd00d20ff9e35a5d20f3163ee9437.tar.xz bugs-25de3add9dedd00d20ff9e35a5d20f3163ee9437.zip |
Bug 375007: [Oracle] Some CGIs use SQL names in their "AS" clauses that don't work in Oracle
Patch By Xiaoou Wu <xiaoou.wu@oracle.com> r=mkanat, a=mkanat
Diffstat (limited to 'Bugzilla/BugMail.pm')
-rw-r--r-- | Bugzilla/BugMail.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Bugzilla/BugMail.pm b/Bugzilla/BugMail.pm index 1f10714e8..967ad8ca3 100644 --- a/Bugzilla/BugMail.pm +++ b/Bugzilla/BugMail.pm @@ -113,7 +113,7 @@ sub Send { my %values = %{$dbh->selectrow_hashref( 'SELECT ' . join(',', editable_bug_fields()) . ', reporter, - lastdiffed AS start, LOCALTIMESTAMP(0) AS end + lastdiffed AS start_time, LOCALTIMESTAMP(0) AS end_time FROM bugs WHERE bug_id = ?', undef, $id)}; @@ -123,7 +123,7 @@ sub Send { my $component = new Bugzilla::Component($values{component_id}); $values{component} = $component->name; - my ($start, $end) = ($values{start}, $values{end}); + my ($start, $end) = ($values{start_time}, $values{end_time}); # User IDs of people in various roles. More than one person can 'have' a # role, if the person in that role has changed, or people are watching. |