aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2007-07-12 07:40:02 +0000
committerlpsolit%gmail.com <>2007-07-12 07:40:02 +0000
commit23c63e06693b324f5ea61555fd150ac4a158679a (patch)
tree530bc8940870b2b1c1d5643dff313da6c99559e8 /sanitycheck.cgi
parentBug 387705: Single dependency loop detection not working anymore - Patch by R... (diff)
downloadbugzilla-23c63e06693b324f5ea61555fd150ac4a158679a.tar.gz
bugzilla-23c63e06693b324f5ea61555fd150ac4a158679a.tar.bz2
bugzilla-23c63e06693b324f5ea61555fd150ac4a158679a.zip
Bug 387831: Deleting products does not clean up the component_cc table - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=mkanat
Diffstat (limited to 'sanitycheck.cgi')
-rwxr-xr-xsanitycheck.cgi6
1 files changed, 5 insertions, 1 deletions
diff --git a/sanitycheck.cgi b/sanitycheck.cgi
index 58033b828..db25f5842 100755
--- a/sanitycheck.cgi
+++ b/sanitycheck.cgi
@@ -453,7 +453,8 @@ CrossCheck("profiles", "userid",
["tokens", "userid"],
["user_group_map", "user_id"],
["components", "initialowner", "name"],
- ["components", "initialqacontact", "name"]);
+ ["components", "initialqacontact", "name"],
+ ["component_cc", "user_id"]);
CrossCheck("products", "id",
["bugs", "product_id", "bug_id"],
@@ -464,6 +465,9 @@ CrossCheck("products", "id",
["flaginclusions", "product_id", "type_id"],
["flagexclusions", "product_id", "type_id"]);
+CrossCheck("components", "id",
+ ["component_cc", "component_id"]);
+
# Check the former enum types -mkanat@bugzilla.org
CrossCheck("bug_status", "value",
["bugs", "bug_status", "bug_id"]);