From f8aeecaf8cd33d87315c5a50be9a762e142062a4 Mon Sep 17 00:00:00 2001 From: "travis%sedsystems.ca" <> Date: Wed, 9 Feb 2005 00:51:02 +0000 Subject: Bug 257315 : type of delta_ts in bugs table should not be timestamp Patch by Tomas Kopal r=mkanat, LpSolit a=justdave --- move.pl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'move.pl') diff --git a/move.pl b/move.pl index 328671f81..7747baaed 100755 --- a/move.pl +++ b/move.pl @@ -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*$/) { -- cgit v1.2.3-24-g4f1b