]> git.notmuchmail.org Git - notmuch/blobdiff - lib/database.cc
lib: replace deprecated n_q_count_messages with status returning version
[notmuch] / lib / database.cc
index 125c4b92baab446e3c7faff5a01fc10232f4fe84..5bc131a35d44a8621d836ab3c2e86ad33c6f793d 100644 (file)
@@ -1493,7 +1493,7 @@ notmuch_database_upgrade (notmuch_database_t *notmuch,
        query = notmuch_query_create (notmuch, "");
        unsigned msg_count;
 
-       status = notmuch_query_count_messages_st (query, &msg_count);
+       status = notmuch_query_count_messages (query, &msg_count);
        if (status)
            goto DONE;