]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Fix for bug 150792: Locks profiles table so adding a CC while creating a bug doesn...
authormyk%mozilla.org <>
Mon, 17 Jun 2002 22:56:09 +0000 (22:56 +0000)
committermyk%mozilla.org <>
Mon, 17 Jun 2002 22:56:09 +0000 (22:56 +0000)
2xr=bbaetz

post_bug.cgi

index fe08711911a9175efc5715ff7cccee91b3f1baca..9190ab1d7a9046c8973a87af32671879af89a151 100755 (executable)
@@ -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);