mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 15:52:07 +00:00
Fix for bug 150792: Locks profiles table so adding a CC while creating a bug doesn't fail.
2xr=bbaetz
This commit is contained in:
parent
ae2d20be15
commit
b38ebe63a2
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user