X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=lib%2Fdatabase.cc;h=5bc131a35d44a8621d836ab3c2e86ad33c6f793d;hp=a679cbabbac95a2d39885292341370e1d040d8c0;hb=5ce8e0b11b40f733e6231d2067764e76717a341a;hpb=a8a270522231b186493ecd97d56a1343382d51d8 diff --git a/lib/database.cc b/lib/database.cc index a679cbab..5bc131a3 100644 --- a/lib/database.cc +++ b/lib/database.cc @@ -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; @@ -1531,7 +1531,7 @@ notmuch_database_upgrade (notmuch_database_t *notmuch, query = notmuch_query_create (notmuch, ""); - status = notmuch_query_search_messages_st (query, &messages); + status = notmuch_query_search_messages (query, &messages); if (status) goto DONE; for (;