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

Method reset

fdbclient/NativeAPI.actor.cpp:5813–5819  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5811}
5812
5813void TransactionOptions::reset(Database const& cx) {
5814 clear();
5815 lockAware = cx->lockAware;
5816 if (cx->apiVersionAtLeast(630)) {
5817 includePort = true;
5818 }
5819}
5820
5821void Transaction::resetImpl(bool generateNewSpan) {
5822 flushTrLogsIfEnabled();

Calls 2

clearFunction · 0.70
apiVersionAtLeastMethod · 0.45

Tested by

no test coverage detected