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

Method selectApiVersion

fdbclient/ThreadSafeTransaction.cpp:662–664  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

660ThreadSafeApi::ThreadSafeApi() : apiVersion(-1), transportId(0) {}
661
662void ThreadSafeApi::selectApiVersion(int apiVersion) {
663 this->apiVersion = ApiVersion(apiVersion);
664}
665
666const char* ThreadSafeApi::getClientVersion() {
667 // There is only one copy of the ThreadSafeAPI, and it never gets deleted.

Callers 7

mainFunction · 0.45
_setupMethod · 0.45
_setupMethod · 0.45
_startMethod · 0.45
_setupMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected