The catch block either needs to return, or the function needs to
return "status". Choose the latter for consistency with
n_d_get_config.
_notmuch_database_log (notmuch, "Error: A Xapian exception occurred setting metadata: %s\n",
error.get_msg ().c_str ());
}
- return NOTMUCH_STATUS_SUCCESS;
+ return status;
}
static notmuch_status_t
test_expect_equal_file EXPECTED OUTPUT
test_begin_subtest "set config in closed database"
-test_subtest_known_broken
cat c_head - c_tail <<'EOF' | test_C ${MAIL_DIR}
{
EXPECT0(notmuch_database_close (db));