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:
parent
bc31c14df0
commit
a3473a60eb
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user