Closed Bug 508032 Opened 15 years ago Closed 15 years ago

Speed up initializing of email_setting values

Categories

(Bugzilla :: Installation & Upgrading, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
Bugzilla 3.6

People

(Reporter: mkanat, Assigned: mkanat)

References

Details

(Whiteboard: [es-gnome])

Attachments

(1 file)

On an upgrade from an older version of Bugzilla, setting the initial values for the "Dependency Tree" email_setting value is very slow, because it does a lot of $dbh->do calls. It can all be consolidated into one INSERT INTO ... SELECT statement.
Attached patch v1Splinter Review
This makes it WAY faster.

Granting myself review as module owner.
Assignee: installation → mkanat
Status: NEW → ASSIGNED
Attachment #392250 - Flags: review+
Checking in Bugzilla/Install/DB.pm;
/cvsroot/mozilla/webtools/bugzilla/Bugzilla/Install/DB.pm,v  <--  DB.pm
new revision: 1.67; previous revision: 1.66
don
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Flags: approval+
Resolution: --- → FIXED
Whiteboard: [es-gnome]
Blocks: 518073
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: