Sigh. We now need to lock the attachments table, too, just in case a

midair collision happens which needs to generate text which needs to
look at the attachments table.  Sigh.
This commit is contained in:
terry%mozilla.org 2000-03-10 22:26:55 +00:00
parent 69c76eb434
commit 110d75d308

View File

@ -591,7 +591,7 @@ foreach my $id (@idlist) {
SendSQL("LOCK TABLES bugs $write, bugs_activity $write, cc $write, " .
"profiles $write, dependencies $write, votes $write, " .
"keywords $write, longdescs $write, fielddefs $write, " .
"keyworddefs READ, groups READ");
"keyworddefs READ, groups READ, attachments READ");
my @oldvalues = SnapShotBug($id);
my $i = 0;
foreach my $col (@::log_columns) {