19 Dec
                
                    2012
                
            
            
                19 Dec
                
                '12
                
            
            
            
        
    
                3:42 p.m.
            
        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?