diff options
| author | David Bremner <david@tethera.net> | 2020-07-16 19:28:22 -0300 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2020-07-22 19:52:55 -0300 |
| commit | f25fc8e2115fc0fa6fa2a6d1cf3ed2747e163886 (patch) | |
| tree | 7d665f414f8190d472b05175d4326f25ef71b3c9 /lib/notmuch.h | |
| parent | cf90431cbf2899d675bf09e945c7cbf8f1b4728f (diff) | |
lib/n_d_needs_upgrade: handle error return from n_d_get_version
Also clarify documentation of error return from n_d_needs_upgrade.
Diffstat (limited to 'lib/notmuch.h')
| -rw-r--r-- | lib/notmuch.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/notmuch.h b/lib/notmuch.h index d9f3003f..f9e9cc41 100644 --- a/lib/notmuch.h +++ b/lib/notmuch.h @@ -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); |
