]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 181000 - Lock the keyworddefs table for READ when using a shadowdb, too
authorbbaetz%student.usyd.edu.au <>
Wed, 20 Nov 2002 08:59:58 +0000 (08:59 +0000)
committerbbaetz%student.usyd.edu.au <>
Wed, 20 Nov 2002 08:59:58 +0000 (08:59 +0000)
r,a=myk

post_bug.cgi

index 60bfa0522370a571cd9e5094b1f02542d732225c..4cacb271cb4e601442b735e400da678b861f7c02 100755 (executable)
@@ -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);