Speed up initializing of email_setting values

RESOLVED FIXED in Bugzilla 3.6

Status

()

Bugzilla
Installation & Upgrading
--
enhancement
RESOLVED FIXED
8 years ago
8 years ago

People

(Reporter: Max Kanat-Alexander, Assigned: Max Kanat-Alexander)

Tracking

Bugzilla 3.6
Bug Flags:
approval +

Details

(Whiteboard: [es-gnome])

Attachments

(1 attachment)

v1
1.10 KB, patch
Max Kanat-Alexander
: review+
Details | Diff | Splinter Review
(Assignee)

Description

8 years ago
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.
(Assignee)

Comment 1

8 years ago
Created attachment 392250 [details] [diff] [review]
v1

This makes it WAY faster.

Granting myself review as module owner.
Assignee: installation → mkanat
Status: NEW → ASSIGNED
Attachment #392250 - Flags: review+
(Assignee)

Comment 2

8 years ago
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
Last Resolved: 8 years ago
Flags: approval+
Resolution: --- → FIXED
(Assignee)

Updated

8 years ago
Whiteboard: [es-gnome]
Blocks: 518073
You need to log in before you can comment on or make changes to this bug.