summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpreed%sigkill.com <>2003-07-24 10:00:20 +0200
committerpreed%sigkill.com <>2003-07-24 10:00:20 +0200
commit7fac05965d08f290fe19dd6f8e91616d11b56563 (patch)
treee41078cd2ae6151bbf1f0cdd09ce312abbae1f85
parentc9bb537f09162a6b6e75ea05dd066176348b2b0b (diff)
downloadbugzilla-7fac05965d08f290fe19dd6f8e91616d11b56563.tar.gz
bugzilla-7fac05965d08f290fe19dd6f8e91616d11b56563.tar.xz
Bug 211435 - Fix "Table 'namedqueries' was not locked with LOCK TABLES" error; Patch by jocuri@softhome.net (Vlad Dascalu), r=bbaetz, a=justdave
-rwxr-xr-xprocess_bug.cgi1
1 files changed, 1 insertions, 0 deletions
diff --git a/process_bug.cgi b/process_bug.cgi
index 102934313..e49324f6d 100755
--- a/process_bug.cgi
+++ b/process_bug.cgi
@@ -1265,6 +1265,7 @@ foreach my $id (@idlist) {
if ($::FORM{'comment'} || $::FORM{'work_time'}) {
if ($::FORM{'work_time'} &&
(!defined $::FORM{'comment'} || $::FORM{'comment'} =~ /^\s*$/)) {
+ SendSQL("UNLOCK TABLES");
ThrowUserError('comment_required');
} else {
AppendComment($id, $::COOKIE{'Bugzilla_login'}, $::FORM{'comment'},