summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xchecksetup.pl7
1 files changed, 6 insertions, 1 deletions
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");
}