From 7fac05965d08f290fe19dd6f8e91616d11b56563 Mon Sep 17 00:00:00 2001 From: "preed%sigkill.com" <> Date: Thu, 24 Jul 2003 08:00:20 +0000 Subject: Bug 211435 - Fix "Table 'namedqueries' was not locked with LOCK TABLES" error; Patch by jocuri@softhome.net (Vlad Dascalu), r=bbaetz, a=justdave --- process_bug.cgi | 1 + 1 file changed, 1 insertion(+) (limited to 'process_bug.cgi') 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'}, -- cgit v1.2.3-24-g4f1b