diff options
author | preed%sigkill.com <> | 2003-07-24 10:00:20 +0200 |
---|---|---|
committer | preed%sigkill.com <> | 2003-07-24 10:00:20 +0200 |
commit | 7fac05965d08f290fe19dd6f8e91616d11b56563 (patch) | |
tree | e41078cd2ae6151bbf1f0cdd09ce312abbae1f85 | |
parent | c9bb537f09162a6b6e75ea05dd066176348b2b0b (diff) | |
download | bugzilla-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-x | process_bug.cgi | 1 |
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'}, |