The default bug view has changed. See this FAQ.

kSmallCommit shouldn't be used, since it doesn't do anything.

RESOLVED FIXED in Thunderbird 14.0

Status

MailNews Core
Database
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: Bienvenu, Assigned: Bienvenu)

Tracking

Trunk
Thunderbird 14.0
x86_64
Windows 7
Bug Flags:
in-testsuite -

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(2 attachments, 1 obsolete attachment)

(Assignee)

Description

5 years ago
nsIMsgDatabase::kSmallCommit doesn't do anything in mork, so it shouldn't be used, since it's a temptation.
(Assignee)

Comment 1

5 years ago
Created attachment 616687 [details] [diff] [review]
proposed fix
Attachment #616687 - Flags: review?(neil)

Comment 2

5 years ago
Comment on attachment 616687 [details] [diff] [review]
proposed fix

(I don't think changing the uuids has any effect, because nobody QIs to them.)
Attachment #616687 - Flags: review?(neil) → review+

Comment 3

5 years ago
What about the SmallCommit() method that was called as a result of choosing kSmallCommit? Is that still used/needed?
(Assignee)

Comment 4

5 years ago
(In reply to :aceman from comment #3)
> What about the SmallCommit() method that was called as a result of choosing
> kSmallCommit? Is that still used/needed?

I don't care so much about the mork method since people are much less likely to try to call that. But it can go away as well from db/mdb and db/mork

Comment 5

5 years ago
Can I do it here or in a new bug?
(Assignee)

Comment 6

5 years ago
(In reply to :aceman from comment #5)
> Can I do it here or in a new bug?

doing it here is fine...
(Assignee)

Comment 7

5 years ago
db and addrbook patch landed here - http://hg.mozilla.org/comm-central/rev/52160eb9efd5

Comment 8

5 years ago
Created attachment 617075 [details] [diff] [review]
patch for removing SmallCommit()
Attachment #617075 - Flags: review?(dbienvenu)

Updated

5 years ago
Status: NEW → ASSIGNED
(Assignee)

Comment 9

5 years ago
Comment on attachment 617075 [details] [diff] [review]
patch for removing SmallCommit()

can you rev the IID on nsIMdbStore while you're at it? I doubt anyone cares, but technically, we should.
Attachment #617075 - Flags: review?(dbienvenu) → review+

Comment 10

5 years ago
Created attachment 617563 [details] [diff] [review]
patch for removing SmallCommit() v2

Like this?
Attachment #617075 - Attachment is obsolete: true
Attachment #617563 - Flags: review?(dbienvenu)
(Assignee)

Comment 11

5 years ago
Comment on attachment 617563 [details] [diff] [review]
patch for removing SmallCommit() v2

Review of attachment 617563 [details] [diff] [review]:
-----------------------------------------------------------------

yes, thx.
Attachment #617563 - Flags: review?(dbienvenu) → review+

Updated

5 years ago
Keywords: checkin-needed
http://hg.mozilla.org/comm-central/rev/33e93567f9f3
Status: ASSIGNED → RESOLVED
Last Resolved: 5 years ago
Flags: in-testsuite-
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 14.0
You need to log in before you can comment on or make changes to this bug.