diff options
author | jake%acutex.net <> | 2001-10-05 22:18:12 +0000 |
---|---|---|
committer | jake%acutex.net <> | 2001-10-05 22:18:12 +0000 |
commit | 09c5e6b565eb670d61dae0e29de4a1f9d789cacf (patch) | |
tree | ab904904b464b2830251a60f7e78c95647c23d05 /sanitycheck.cgi | |
parent | d24a52b9245badb17016ed1b3daeeb9eb266f421 (diff) | |
download | bugs-09c5e6b565eb670d61dae0e29de4a1f9d789cacf.tar bugs-09c5e6b565eb670d61dae0e29de4a1f9d789cacf.tar.gz bugs-09c5e6b565eb670d61dae0e29de4a1f9d789cacf.tar.bz2 bugs-09c5e6b565eb670d61dae0e29de4a1f9d789cacf.tar.xz bugs-09c5e6b565eb670d61dae0e29de4a1f9d789cacf.zip |
Fix for bug 83474 - The tables were not being unlocked properly when rebuilding the keyword cache if there were no keywords to rebuild.
Patch by Lukasz Engel <Lukasz.Engel@softax.pl>
r= matty@chariot.net.au
Diffstat (limited to 'sanitycheck.cgi')
-rwxr-xr-x | sanitycheck.cgi | 4 |
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 |