X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;ds=sidebyside;f=lib%2Fdatabase.cc;h=5bc131a35d44a8621d836ab3c2e86ad33c6f793d;hb=d877240f4e097eb3dd477409a24155c10e0b3c17;hp=a679cbabbac95a2d39885292341370e1d040d8c0;hpb=a8a270522231b186493ecd97d56a1343382d51d8;p=notmuch 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 (;