diff options
author | travis%sedsystems.ca <> | 2005-02-09 00:51:02 +0000 |
---|---|---|
committer | travis%sedsystems.ca <> | 2005-02-09 00:51:02 +0000 |
commit | f8aeecaf8cd33d87315c5a50be9a762e142062a4 (patch) | |
tree | c92dc215a4f6780005bacf825fb6fbdc39552ae1 /move.pl | |
parent | c0df359943e8b746f02f5c43d25e5ffea99f8d19 (diff) | |
download | bugs-f8aeecaf8cd33d87315c5a50be9a762e142062a4.tar bugs-f8aeecaf8cd33d87315c5a50be9a762e142062a4.tar.gz bugs-f8aeecaf8cd33d87315c5a50be9a762e142062a4.tar.bz2 bugs-f8aeecaf8cd33d87315c5a50be9a762e142062a4.tar.xz bugs-f8aeecaf8cd33d87315c5a50be9a762e142062a4.zip |
Bug 257315 : type of delta_ts in bugs table should not be timestamp
Patch by Tomas Kopal <Tomas.Kopal@altap.cz> r=mkanat, LpSolit a=justdave
Diffstat (limited to 'move.pl')
-rwxr-xr-x | move.pl | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -122,8 +122,10 @@ foreach my $id (split(/:/, scalar($cgi->param('buglist')))) { "(bug_id,who,bug_when,fieldid,removed,added) VALUES " . "($id,$exporterid,now(),$fieldid,'$cur_res','MOVED')"); - SendSQL("UPDATE bugs SET bug_status =\"RESOLVED\" where bug_id=\"$id\""); - SendSQL("UPDATE bugs SET resolution =\"MOVED\" where bug_id=\"$id\""); + SendSQL("UPDATE bugs SET bug_status =\"RESOLVED\", + resolution =\"MOVED\", + delta_ts = NOW() + WHERE bug_id=\"$id\""); my $comment = ""; if (defined $cgi->param('comment') && $cgi->param('comment') !~ /^\s*$/) { |