Commit f5e15cff authored by myk%mozilla.org's avatar myk%mozilla.org

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

2xr=bbaetz
parent 8beb600a
...@@ -243,7 +243,7 @@ $sql .= ") & $::usergroupset)\n"; ...@@ -243,7 +243,7 @@ $sql .= ") & $::usergroupset)\n";
# Lock tables before inserting records for the new bug into the database # Lock tables before inserting records for the new bug into the database
# if we are using a shadow database to prevent shadow database corruption # if we are using a shadow database to prevent shadow database corruption
# when two bugs get created at the same time. # 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. # Add the bug report to the DB.
SendSQL($sql); SendSQL($sql);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment