Closed Bug 398976 Opened 17 years ago Closed 17 years ago

The edit* cgi scripts should use transactions for database interaction

Categories

(Bugzilla :: Database, defect)

3.1.2
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Bugzilla 3.2

People

(Reporter: emmanuel, Assigned: emmanuel)

References

Details

Attachments

(1 file, 1 obsolete file)

The edit* scripts should all use bz_start_transaction/bz_commit_transaction instead of bz_lock_tables/bz_unlock_tables.
Attachment #283981 - Flags: review?(mkanat)
Comment on attachment 283981 [details] [diff] [review] Replace locks by transactions This looks fine, but please re-attach it as a "cvs diff" so that I can use the "File" context to verify that everything is correct.
Attached patch cvs diff of the previous patch (obsolete) — Splinter Review
Attachment #283981 - Attachment is obsolete: true
Attachment #284125 - Flags: review?(mkanat)
Attachment #283981 - Flags: review?(mkanat)
Comment on attachment 283981 [details] [diff] [review] Replace locks by transactions Okay, great. I did the review using the cvs diff below, but since it wasn't a "cvs diff -u", I'm r+'ing this patch instead.
Attachment #283981 - Attachment is obsolete: false
Attachment #283981 - Flags: review+
Attachment #284125 - Attachment is obsolete: true
Attachment #284125 - Flags: review?(mkanat)
Flags: approval+
Checking in editclassifications.cgi; /cvsroot/mozilla/webtools/bugzilla/editclassifications.cgi,v <-- editclassifications.cgi new revision: 1.27; previous revision: 1.26 done Checking in editcomponents.cgi; /cvsroot/mozilla/webtools/bugzilla/editcomponents.cgi,v <-- editcomponents.cgi new revision: 1.82; previous revision: 1.81 done Checking in editflagtypes.cgi; /cvsroot/mozilla/webtools/bugzilla/editflagtypes.cgi,v <-- editflagtypes.cgi new revision: 1.50; previous revision: 1.49 done Checking in editgroups.cgi; /cvsroot/mozilla/webtools/bugzilla/editgroups.cgi,v <-- editgroups.cgi new revision: 1.86; previous revision: 1.85 done Checking in editproducts.cgi; /cvsroot/mozilla/webtools/bugzilla/editproducts.cgi,v <-- editproducts.cgi new revision: 1.136; previous revision: 1.135 done Checking in editusers.cgi; /cvsroot/mozilla/webtools/bugzilla/editusers.cgi,v <-- editusers.cgi new revision: 1.143; previous revision: 1.142 done Checking in editvalues.cgi; /cvsroot/mozilla/webtools/bugzilla/editvalues.cgi,v <-- editvalues.cgi new revision: 1.24; previous revision: 1.23 done
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Target Milestone: --- → Bugzilla 3.2
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: