MCPcopy Create free account
hub / github.com/apple/foundationdb / fdb_transaction_commit

Function fdb_transaction_commit

bindings/c/fdb_c.cpp:848–850  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

846}
847
848extern "C" DLLEXPORT FDBFuture* fdb_transaction_commit(FDBTransaction* tr) {
849 return (FDBFuture*)(TXN(tr)->commit().extractPtr());
850}
851
852extern "C" DLLEXPORT fdb_error_t fdb_transaction_get_committed_version(FDBTransaction* tr, int64_t* out_version) {
853 CATCH_AND_RETURN(*out_version = TXN(tr)->getCommittedVersion(););

Callers 7

commitMethod · 0.85
runFunction · 0.85
commitMethod · 0.85
runMethod · 0.85
commitMethod · 0.85
commitMethod · 0.85

Calls 2

commitMethod · 0.65
extractPtrMethod · 0.45

Tested by 5

runFunction · 0.68
commitMethod · 0.68
runMethod · 0.68
commitMethod · 0.68
commitMethod · 0.68