summaryrefslogtreecommitdiffstats
path: root/sanitycheck.cgi
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2008-06-07 20:54:31 +0200
committerlpsolit%gmail.com <>2008-06-07 20:54:31 +0200
commit27effd99d37c47da4f1462c63cae3d8548624ca2 (patch)
tree7dd003f0239db18a5137bfa70b9b5c757167338d /sanitycheck.cgi
parent87cdd1c7afb9c11e2d2fdc246f79c3a0e42de0e8 (diff)
downloadbugzilla-27effd99d37c47da4f1462c63cae3d8548624ca2.tar.gz
bugzilla-27effd99d37c47da4f1462c63cae3d8548624ca2.tar.xz
Bug 437369: Deleting a bug doesn't remove related data from the bugs_fulltext table - Patch by Ed Goose <ed.goose@gmail.com> r/a=LpSolit
Diffstat (limited to 'sanitycheck.cgi')
-rwxr-xr-xsanitycheck.cgi4
1 files changed, 3 insertions, 1 deletions
diff --git a/sanitycheck.cgi b/sanitycheck.cgi
index 1332f75ed..237eaab38 100755
--- a/sanitycheck.cgi
+++ b/sanitycheck.cgi
@@ -272,7 +272,8 @@ if ($cgi->param('remove_invalid_bug_references')) {
$dbh->bz_start_transaction();
- foreach my $pair ('attachments/', 'bug_group_map/', 'bugs_activity/', 'cc/',
+ foreach my $pair ('attachments/', 'bug_group_map/', 'bugs_activity/',
+ 'bugs_fulltext/', 'cc/',
'dependencies/blocked', 'dependencies/dependson',
'duplicates/dupe', 'duplicates/dupe_of',
'flags/', 'keywords/', 'longdescs/', 'votes/') {
@@ -408,6 +409,7 @@ CrossCheck("flagtypes", "id",
CrossCheck("bugs", "bug_id",
["bugs_activity", "bug_id"],
["bug_group_map", "bug_id"],
+ ["bugs_fulltext", "bug_id"],
["attachments", "bug_id"],
["cc", "bug_id"],
["longdescs", "bug_id"],