Potapov Sergey
2012-Dec-19 09:02 UTC
[Dovecot] Path for fixing sequence lookup of newly created mails in transaction view
Hi! It seem that tview_lookup_seq_range works incorret, if I request uids from 3 to 3, and I have new uids 1,2,4,5 it will return seq for uid=4. Fixing patch is included as attach. ------ Sergey Potapov -------------- next part -------------- A non-text attachment was scrubbed... Name: fix_tview_lookup_seq_range.patch Type: text/x-diff Size: 894 bytes Desc: fix_tview_lookup_seq_range.patch URL: <http://dovecot.org/pipermail/dovecot/attachments/20121219/504ab1df/attachment-0004.bin>
Timo Sirainen
2012-Dec-19 14:42 UTC
[Dovecot] Path for fixing sequence lookup of newly created mails in transaction view
On Wed, 2012-12-19 at 09:02 +0000, Potapov Sergey wrote:> It seem that tview_lookup_seq_range works incorret, if I request uids > from 3 to 3, and I have new uids 1,2,4,5 it will return seq for uid=4. > Fixing patch is included as attach.Thanks. I committed it in two parts: http://hg.dovecot.org/dovecot-2.1/rev/7f4835cff04a http://hg.dovecot.org/dovecot-2.1/rev/c9e6ad8a42db BTW. Did you notice this cause some Dovecot bug or were you using it in your own code?
Maybe Matching Threads
- Panic: file mail-index-map.c: line 547 (mail_index_map_lookup_seq_range): assertion failed: (first_uid > 0)
- IP address versus Hostname
- Change one file, and they all get sent!
- [Bug 90390] New: [NV98] Modesetting causes blank screen because of INVALID_STATE [UNK0B] chid 1 mthd 0x0080 data 0x00000000
- Bug#876364: dovecot-sieve: Just discovered imap_sieve/sieve_imapsieve is not set up to work with virtual mailboxes.