Partial syncs caused index's next_uid to be updated even if the new mails weren't added to index. That caused some UID corruption errors.
Partial syncs caused index's next_uid to be updated even if the new mails
weren't added to index. That caused some UID corruption errors.

--HG--
branch : HEAD

jkerihuel/dovecot,jkerihuel/dovecot,jwm/dovecot-notmuch,jwm/dovecot-notmuch,jkerihuel/dovecot,jwm/dovecot-notmuch,jwm/dovecot-notmuch,dscho/dovecot,jkerihuel/dovecot,dscho/dovecot,dscho/dovecot,jkerihuel/dovecot,dscho/dovecot,jwm/dovecot-notmuch,dscho/dovecot