X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=lib%2Fdatabase.cc;h=831b4a16926ded207c00920761fe29e08933679a;hp=6b8c9989ea4f9c75ada9df3ae0591fca1b65c20f;hb=1c86b48329c0cd69b4353accda4d28739ec1c0f3;hpb=e307e990c9394b6426e55b28c748c265358a1c89 diff --git a/lib/database.cc b/lib/database.cc index 6b8c9989..831b4a16 100644 --- a/lib/database.cc +++ b/lib/database.cc @@ -737,8 +737,10 @@ notmuch_database_upgrade (notmuch_database_t *notmuch, notmuch_messages_has_more (messages); notmuch_messages_advance (messages)) { - if (do_progress_notify) + if (do_progress_notify) { progress_notify (closure, count, total); + do_progress_notify = 0; + } message = notmuch_messages_get (messages);