From 887ae7c11bfbc7dade0ecd93515a6835e274dd72 Mon Sep 17 00:00:00 2001 From: "bbaetz%student.usyd.edu.au" Date: Wed, 20 Nov 2002 00:59:58 +0000 Subject: [PATCH] Bug 181000 - Lock the keyworddefs table for READ when using a shadowdb, too r,a=myk --- webtools/bugzilla/post_bug.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webtools/bugzilla/post_bug.cgi b/webtools/bugzilla/post_bug.cgi index 60bfa052237..4cacb271cb4 100755 --- a/webtools/bugzilla/post_bug.cgi +++ b/webtools/bugzilla/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);