summaryrefslogtreecommitdiffstats
path: root/process_bug.cgi
diff options
context:
space:
mode:
authorterry%mozilla.org <>1999-09-16 02:25:26 +0200
committerterry%mozilla.org <>1999-09-16 02:25:26 +0200
commit1008fc9fa512222979ae23e02e7db30c3e04d592 (patch)
tree60737cf5fccb9580fa83e14422bf2cb60d522ace /process_bug.cgi
parent20269fbbc7fe9226f2ed8a4c0470d7c84b795591 (diff)
downloadbugzilla-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 'process_bug.cgi')
-rwxr-xr-xprocess_bug.cgi4
1 files changed, 2 insertions, 2 deletions
diff --git a/process_bug.cgi b/process_bug.cgi
index 32580cf9a..297a9ed77 100755
--- a/process_bug.cgi
+++ b/process_bug.cgi
@@ -292,7 +292,7 @@ sub LogDependencyActivity {
my ($i, $oldstr, $target, $me) = (@_);
my $newstr = SnapShotDeps($i, $target, $me);
if ($oldstr ne $newstr) {
- SendSQL("insert into bugs_activity (bug_id,who,when,field,oldvalue,newvalue) values ($i,$whoid,$timestamp,'$target','$oldstr','$newstr')");
+ SendSQL("insert into bugs_activity (bug_id,who,bug_when,field,oldvalue,newvalue) values ($i,$whoid,$timestamp,'$target','$oldstr','$newstr')");
return 1;
}
return 0;
@@ -491,7 +491,7 @@ The changes made were:
$col = SqlQuote($col);
$old = SqlQuote($old);
$new = SqlQuote($new);
- my $q = "insert into bugs_activity (bug_id,who,when,field,oldvalue,newvalue) values ($id,$whoid,$timestamp,$col,$old,$new)";
+ my $q = "insert into bugs_activity (bug_id,who,bug_when,field,oldvalue,newvalue) values ($id,$whoid,$timestamp,$col,$old,$new)";
# puts "<pre>$q</pre>"
SendSQL($q);
}