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

r,a=myk
This commit is contained in:
bbaetz%student.usyd.edu.au 2002-11-20 00:59:58 +00:00
Родитель f2b9f074d2
Коммит 1c88f3f0d1
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

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