| 3707 | } |
| 3708 | |
| 3709 | LIBFDB_API |
| 3710 | fdb_status fdb_commit(fdb_file_handle *fhandle, fdb_commit_opt_t opt) |
| 3711 | { |
| 3712 | if (!fhandle) { |
| 3713 | return FDB_RESULT_INVALID_HANDLE; |
| 3714 | } |
| 3715 | |
| 3716 | return _fdb_commit(fhandle->root, opt, |
| 3717 | !(fhandle->root->config.durability_opt & FDB_DRB_ASYNC)); |
| 3718 | } |
| 3719 | |
| 3720 | fdb_status _fdb_commit(fdb_kvs_handle *handle, fdb_commit_opt_t opt, bool sync) |
| 3721 | { |
nothing calls this directly
no test coverage detected