Closed Bug 569302 Opened 15 years ago Closed 15 years ago

Most or all Install::DB functions should inform the user that they are doing something

Categories

(Bugzilla :: Installation & Upgrading, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
Bugzilla 4.0

People

(Reporter: mkanat, Assigned: mkanat)

Details

Attachments

(1 file)

Some Install::DB functions silently upgrade data in the database, and this can hide bugs. Every function should print out a message when it is actually doing work on the database.
Attached patch v1Splinter Review
Okay, now all of Install::DB prints out a message if it conditionally does something. (Things that it *always* does may not print messages--we know that those are always happening, we don't need to be informed, I think.) This also let me figure out what was slow in the "copying old chart data into the database" part, and I put a transaction around it, which sped it up considerably.
Assignee: installation → mkanat
Status: NEW → ASSIGNED
Attachment #448457 - Flags: review+
Committing to: bzr+ssh://bzr.mozilla.org/bugzilla/trunk/ modified Bugzilla/Install/DB.pm Committed revision 7203.
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Keywords: relnote
Added to the release notes in bug 604256.
Keywords: relnote
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: