summaryrefslogtreecommitdiffstats
path: root/post_bug.cgi
diff options
context:
space:
mode:
authormyk%mozilla.org <>2002-06-18 00:54:50 +0200
committermyk%mozilla.org <>2002-06-18 00:54:50 +0200
commitf5e15cffb462e292820401b04bac97d8dc8b0edb (patch)
treedafa0d29980dc7cf97d6248f1b010ca68eec647a /post_bug.cgi
parent8beb600a22d18243cb2c4cdc5d0500e5c74a816a (diff)
downloadbugzilla-f5e15cffb462e292820401b04bac97d8dc8b0edb.tar.gz
bugzilla-f5e15cffb462e292820401b04bac97d8dc8b0edb.tar.xz
Fix for bug 150792: Locks profiles table so adding a CC while creating a bug doesn't fail.
2xr=bbaetz
Diffstat (limited to 'post_bug.cgi')
-rwxr-xr-xpost_bug.cgi2
1 files changed, 1 insertions, 1 deletions
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);