From: terry%mozilla.org <> Date: Thu, 27 Jan 2000 05:17:36 +0000 (+0000) Subject: If adding the new "lastdiffed" field, it works out better to X-Git-Tag: bugzilla-2.12~417 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5bf7869f8b7d8c3bec9552081e13fdebb548b0cb;p=thirdparty%2Fbugzilla.git If adding the new "lastdiffed" field, it works out better to initialize it to "now", not to "delta_ts". --- diff --git a/checksetup.pl b/checksetup.pl index 6f7f38559a..f3937c0d16 100755 --- a/checksetup.pl +++ b/checksetup.pl @@ -1348,7 +1348,7 @@ if (GetFieldDef('bugs_activity', 'field')) { if (!GetFieldDef('bugs', 'lastdiffed')) { AddField('bugs', 'lastdiffed', 'datetime not null'); - $dbh->do('UPDATE bugs SET lastdiffed = delta_ts, delta_ts = delta_ts'); + $dbh->do('UPDATE bugs SET lastdiffed = now(), delta_ts = delta_ts'); } AddField('profiles', 'newemailtech', 'tinyint not null');