Closed Bug 1712003 Opened 3 years ago Closed 3 years ago

nsMsgDatabase makes redundant msghdr cache checks.

Categories

(MailNews Core :: Database, task)

Tracking

(thunderbird_esr78 wontfix, thunderbird89 wontfix)

RESOLVED FIXED
90 Branch
Tracking Status
thunderbird_esr78 --- wontfix
thunderbird89 --- wontfix

People

(Reporter: benc, Assigned: benc)

Details

Attachments

(1 file)

There are a few places in nsMsgDatabase where calls to GetHdrFromUseCache() preceed calls to CreateMsgHdr(). But CreateMsgHdr() checks in the cache anyway, so the first calls are redundant.

Assignee: nobody → benc
Status: NEW → ASSIGNED
Type: enhancement → task
Target Milestone: --- → 90 Branch

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/6c149dc818b8
Remove redundant msghdr cache checks in nsMsgDatabase. r=mkmelin

Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: