Fix for bug 150792: Locks profiles table so adding a CC while creating a bug doesn't fail.

2xr=bbaetz


git-svn-id: svn://10.0.0.236/trunk@123438 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
myk%mozilla.org 2002-06-17 15:56:09 +00:00
parent bc31c14df0
commit a3473a60eb

View File

@ -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);