]> git.notmuchmail.org Git - notmuch/blobdiff - lib/notmuch.h
lib/n_d_needs_upgrade: handle error return from n_d_get_version
[notmuch] / lib / notmuch.h
index d9f3003fad32381151d92ea9d847d695daf65a77..f9e9cc413bcbe3daddde0431cbc07dc6f590a149 100644 (file)
@@ -447,6 +447,8 @@ notmuch_database_get_version (notmuch_database_t *database);
  * FALSE for a read-only database because there's no way to upgrade a
  * read-only database.
  *
+ * Also returns FALSE if an error occurs accessing the database.
+ *
  */
 notmuch_bool_t
 notmuch_database_needs_upgrade (notmuch_database_t *database);