From f5e15cffb462e292820401b04bac97d8dc8b0edb Mon Sep 17 00:00:00 2001 From: "myk%mozilla.org" <> Date: Mon, 17 Jun 2002 22:54:50 +0000 Subject: 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(-) (limited to 'post_bug.cgi') diff --git a/post_bug.cgi b/post_bug.cgi index fe0871191..9190ab1d7 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); -- cgit v1.2.3-24-g4f1b