From: terry%mozilla.org <> Date: Sat, 11 Mar 2000 06:26:55 +0000 (+0000) Subject: Sigh. We now need to lock the attachments table, too, just in case a X-Git-Tag: bugzilla-2.12~344 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dbbe021b568c48a7e9a5bece1c0d6815cc1e14d3;p=thirdparty%2Fbugzilla.git 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. --- diff --git a/process_bug.cgi b/process_bug.cgi index ac8f1a3957..f385f13d11 100755 --- a/process_bug.cgi +++ b/process_bug.cgi @@ -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) {