If MAIL_INDEX_SYNC_FLAG_REQUIRE_CHANGES is set, check if there's anything to sync before locking transaction log.
If MAIL_INDEX_SYNC_FLAG_REQUIRE_CHANGES is set, check if there's anything to
sync before locking transaction log.

damoxc/dovecot,damoxc/dovecot,damoxc/dovecot,damoxc/dovecot,damoxc/dovecot