зеркало из https://github.com/mozilla/pjs.git
Bug 181000 - Lock the keyworddefs table for READ when using a shadowdb, too
r,a=myk
This commit is contained in:
Родитель
2f017477f6
Коммит
887ae7c11b
|
@ -376,7 +376,7 @@ foreach my $b (grep(/^bit-\d*$/, keys %::FORM)) {
|
|||
# when two bugs get created at the same time.
|
||||
SendSQL("LOCK TABLES bugs WRITE, bug_group_map WRITE, longdescs WRITE, " .
|
||||
"cc WRITE, keywords WRITE, dependencies WRITE, bugs_activity WRITE, " .
|
||||
"fielddefs READ, profiles READ") if Param("shadowdb");
|
||||
"fielddefs READ, profiles READ, keyworddefs READ") if Param("shadowdb");
|
||||
|
||||
# Add the bug report to the DB.
|
||||
SendSQL($sql);
|
||||
|
|
Загрузка…
Ссылка в новой задаче