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

r,a=myk


git-svn-id: svn://10.0.0.236/trunk@134139 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bbaetz%student.usyd.edu.au 2002-11-20 00:59:58 +00:00
parent f22034d975
commit f411ff7fd1

View File

@ -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);