summaryrefslogtreecommitdiffstats
path: root/checksetup.pl
diff options
context:
space:
mode:
authorjustdave%syndicomm.com <>2001-08-09 15:12:18 +0200
committerjustdave%syndicomm.com <>2001-08-09 15:12:18 +0200
commit831030614c615d190a2a2c8b57d6c3b175628f56 (patch)
tree27b313e078266cfbf85115d06576d21eb9fe0f31 /checksetup.pl
parent759a18801e846f9fca62afb4b43df0252669ba7d (diff)
downloadbugzilla-831030614c615d190a2a2c8b57d6c3b175628f56.tar.gz
bugzilla-831030614c615d190a2a2c8b57d6c3b175628f56.tar.xz
Re-fix for bug 55161 - if data is partial in activity table, prepend a ? to indicate that we don't know for sure what got dropped.
Patch by Jake Steenhagen <jake@acutex.net> r= justdave@syndicomm.com
Diffstat (limited to 'checksetup.pl')
-rwxr-xr-xchecksetup.pl6
1 files changed, 6 insertions, 0 deletions
diff --git a/checksetup.pl b/checksetup.pl
index d5ece7997..d8414e6c3 100755
--- a/checksetup.pl
+++ b/checksetup.pl
@@ -2431,6 +2431,12 @@ if (GetFieldDef('bugs_activity', 'oldvalue')) {
$added = "?";
$removed = "?";
}
+ # If the origianl field (old|new)value was full, then this
+ # could be incomplete data.
+ if (length($oldvalue) == 255 || length($newvalue) == 255) {
+ $added = "? $added";
+ $removed = "? $removed";
+ }
} else {
$removed = $oldvalue;
$added = $newvalue;