diff options
author | preed%sigkill.com <> | 2003-07-24 08:00:20 +0000 |
---|---|---|
committer | preed%sigkill.com <> | 2003-07-24 08:00:20 +0000 |
commit | 7fac05965d08f290fe19dd6f8e91616d11b56563 (patch) | |
tree | e41078cd2ae6151bbf1f0cdd09ce312abbae1f85 /process_bug.cgi | |
parent | c9bb537f09162a6b6e75ea05dd066176348b2b0b (diff) | |
download | bugs-7fac05965d08f290fe19dd6f8e91616d11b56563.tar bugs-7fac05965d08f290fe19dd6f8e91616d11b56563.tar.gz bugs-7fac05965d08f290fe19dd6f8e91616d11b56563.tar.bz2 bugs-7fac05965d08f290fe19dd6f8e91616d11b56563.tar.xz bugs-7fac05965d08f290fe19dd6f8e91616d11b56563.zip |
Bug 211435 - Fix "Table 'namedqueries' was not locked with LOCK TABLES" error; Patch by jocuri@softhome.net (Vlad Dascalu), r=bbaetz, a=justdave
Diffstat (limited to 'process_bug.cgi')
-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'}, |