From: myk%mozilla.org <> Date: Mon, 17 Jun 2002 22:54:50 +0000 (+0000) Subject: Fix for bug 150792: Locks profiles table so adding a CC while creating a bug doesn... X-Git-Tag: bugzilla-2.17.1~304 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f5e15cffb462e292820401b04bac97d8dc8b0edb;p=thirdparty%2Fbugzilla.git Fix for bug 150792: Locks profiles table so adding a CC while creating a bug doesn't fail. 2xr=bbaetz --- diff --git a/post_bug.cgi b/post_bug.cgi index fe08711911..9190ab1d7a 100755 --- a/post_bug.cgi +++ b/post_bug.cgi @@ -243,7 +243,7 @@ $sql .= ") & $::usergroupset)\n"; # Lock tables before inserting records for the new bug into the database # if we are using a shadow database to prevent shadow database corruption # when two bugs get created at the same time. -SendSQL("LOCK TABLES bugs WRITE, longdescs WRITE, cc WRITE") if Param("shadowdb"); +SendSQL("LOCK TABLES bugs WRITE, longdescs WRITE, cc WRITE, profiles READ") if Param("shadowdb"); # Add the bug report to the DB. SendSQL($sql);