From 32dc75f2589659a250a538d70d9bc032125c2283 Mon Sep 17 00:00:00 2001 From: "terry%mozilla.org" <> Date: Sun, 23 Jan 2000 11:57:11 +0000 Subject: Oops; previous change would cause delta_ts values to be lost in the bugs table. --- checksetup.pl | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'checksetup.pl') diff --git a/checksetup.pl b/checksetup.pl index 6c04263f1..567c88be9 100755 --- a/checksetup.pl +++ b/checksetup.pl @@ -1376,7 +1376,12 @@ if (GetIndexDef('profiles', 'login_name')->[1]) { ["longdescs", "who"]) { my ($table, $field) = (@$i); print " Updating $table.$field ...\n"; - $dbh->do("UPDATE $table SET $field = $u1 WHERE $field = $u2"); + my $extra = ""; + if ($table eq "bugs") { + $extra = ", delta_ts = delta_ts"; + } + $dbh->do("UPDATE $table SET $field = $u1 $extra " . + "WHERE $field = $u2"); } $dbh->do("DELETE FROM profiles WHERE userid = $u2"); } -- cgit v1.2.3-24-g4f1b