From: myk%mozilla.org <> Date: Mon, 17 Jun 2002 22:56:09 +0000 (+0000) Subject: Fix for bug 150792: Locks profiles table so adding a CC while creating a bug doesn... X-Git-Tag: bugzilla-2.16~38 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=edb209418fda61d68ff5506767dcd25cf6fa282d;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);