From edb209418fda61d68ff5506767dcd25cf6fa282d Mon Sep 17 00:00:00 2001 From: "myk%mozilla.org" <> Date: Mon, 17 Jun 2002 22:56:09 +0000 Subject: [PATCH] Fix for bug 150792: Locks profiles table so adding a CC while creating a bug doesn't fail. 2xr=bbaetz --- post_bug.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.47.2