Re: [PATCH] lib: Fix endless upgrade problem

Subject: Re: [PATCH] lib: Fix endless upgrade problem

Date: Mon, 01 Sep 2014 23:15:13 -0700

To: Austin Clements, notmuch@notmuchmail.org

Cc:

From: David Bremner


Austin Clements <amdragon@mit.edu> writes:

> 48db8c8 introduced a disagreement between when
> notmuch_database_needs_upgrade returned TRUE and when
> notmuch_database_upgrade actually performed an upgrade.  As a result,
> if a database had a version less than 3, but no new features were
> required, notmuch new would call notmuch_database_upgrade to perform
> an upgrade, but notmuch_database_upgrade would return immediately
> without updating the database version.  Hence, the next notmuch new
> would do the same, and so on.
>

Thanks for the quick fix.

pushed,

d

Thread: