Bug 181000 - Lock the keyworddefs table for READ when using a shadowdb, too

r,a=myk
parent 1554eaf8
......@@ -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);
......
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