diff options
author | terry%mozilla.org <> | 1999-09-16 02:25:26 +0200 |
---|---|---|
committer | terry%mozilla.org <> | 1999-09-16 02:25:26 +0200 |
commit | 1008fc9fa512222979ae23e02e7db30c3e04d592 (patch) | |
tree | 60737cf5fccb9580fa83e14422bf2cb60d522ace /CGI.pl | |
parent | 20269fbbc7fe9226f2ed8a4c0470d7c84b795591 (diff) | |
download | bugzilla-1008fc9fa512222979ae23e02e7db30c3e04d592.tar.gz bugzilla-1008fc9fa512222979ae23e02e7db30c3e04d592.tar.xz |
Patch by daa@rmi.net (Dave Avery) -- newer alphas of MySQL won't let
use "when" as a column name, so let's change our usage while it's
still easy to do so.
Diffstat (limited to 'CGI.pl')
-rw-r--r-- | CGI.pl | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -523,16 +523,16 @@ sub DumpBugActivity { my ($id, $starttime) = (@_); my $datepart = ""; if (defined $starttime) { - $datepart = "and bugs_activity.when >= $starttime"; + $datepart = "and bugs_activity.bug_when >= $starttime"; } my $query = " - select bugs_activity.field, bugs_activity.when, + select bugs_activity.field, bugs_activity.bug_when, bugs_activity.oldvalue, bugs_activity.newvalue, profiles.login_name from bugs_activity,profiles where bugs_activity.bug_id = $id $datepart and profiles.userid = bugs_activity.who - order by bugs_activity.when"; + order by bugs_activity.bug_when"; SendSQL($query); |