summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xsanitycheck.cgi4
1 files changed, 3 insertions, 1 deletions
diff --git a/sanitycheck.cgi b/sanitycheck.cgi
index 494e510ee..1bf10f071 100755
--- a/sanitycheck.cgi
+++ b/sanitycheck.cgi
@@ -422,13 +422,15 @@ if (@badbugs) {
SqlQuote($k) .
" WHERE bug_id = $b");
}
- SendSQL("UNLOCK TABLES");
Status("Keyword cache fixed.");
} else {
print qq{<a href="sanitycheck.cgi?rebuildkeywordcache=1">Click here to rebuild the keyword cache</a><p>\n};
}
}
+if (exists $::FORM{'rebuildkeywordcache'}) {
+ SendSQL("UNLOCK TABLES");
+}
###########################################################################
# Perform duplicates table checks