Closed Bug 179177 Opened 22 years ago Closed 22 years ago

keywords and dependencies tables aren't locked when creating bug

Categories

(Bugzilla :: Creating/Changing Bugs, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
Bugzilla 2.18

People

(Reporter: myk, Assigned: myk)

References

Details

(Keywords: regression)

Attachments

(1 file)

keywords and dependencies can be added to a new bug, but those tables aren't
locked beforehand, although this is necessary to prevent a server error if an
installation is using the shadow database.

the fielddefs table also has to be locked, as it's used by the dependency
insertion code.
as it turns out, so does the bugs_activity table.
Status: NEW → ASSIGNED
Keywords: regression
Comment on attachment 105669 [details] [diff] [review]
patch v1: fix for problem

down with the shadowdb!
down with table-level locks!

r=bbaetz x2
Attachment #105669 - Flags: review+
a=justdave
Target Milestone: --- → Bugzilla 2.18
Checking in post_bug.cgi;
/cvsroot/mozilla/webtools/bugzilla/post_bug.cgi,v  <--  post_bug.cgi
new revision: 1.72; previous revision: 1.71
done
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
QA Contact: matty_is_a_geek → default-qa
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: