summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbbaetz%student.usyd.edu.au <>2002-11-20 09:59:58 +0100
committerbbaetz%student.usyd.edu.au <>2002-11-20 09:59:58 +0100
commit59006d0d200e21b1dadf184724a9f3d181302704 (patch)
tree4c9cf48b8e93663147423830a1a41442ef6c6efc
parent1554eaf8592e53ccea48adc1f96938f60d27ab9e (diff)
downloadbugzilla-59006d0d200e21b1dadf184724a9f3d181302704.tar.gz
bugzilla-59006d0d200e21b1dadf184724a9f3d181302704.tar.xz
Bug 181000 - Lock the keyworddefs table for READ when using a shadowdb, too
r,a=myk
-rwxr-xr-xpost_bug.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/post_bug.cgi b/post_bug.cgi
index 60bfa0522..4cacb271c 100755
--- a/post_bug.cgi
+++ b/post_bug.cgi
@@ -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);