summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xpost_bug.cgi4
1 files changed, 3 insertions, 1 deletions
diff --git a/post_bug.cgi b/post_bug.cgi
index 5bc94ca73..4f4063f04 100755
--- a/post_bug.cgi
+++ b/post_bug.cgi
@@ -374,7 +374,9 @@ foreach my $b (grep(/^bit-\d*$/, keys %::FORM)) {
# 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, bug_group_map WRITE, longdescs WRITE, cc WRITE, profiles READ") if Param("shadowdb");
+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");
# Add the bug report to the DB.
SendSQL($sql);