MCPcopy Create free account
hub / github.com/acl-dev/acl / open

Method open

lib_acl_cpp/samples/benchmark/wiredtiger/main.cpp:21–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19 }
20
21 bool open(void) {
22 if (conn_) {
23 return true;
24 }
25
26 int ret = wiredtiger_open(home_.c_str(), NULL, "create", &conn_);
27 if (ret != 0) {
28 printf("open %s failed, ret=%d\r\n", home_.c_str(), ret);
29 return false;
30 }
31 return true;
32 }
33
34 WT_CONNECTION* get_conn(void) const {
35 return conn_;

Callers 9

mainFunction · 0.45
runMethod · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
runMethod · 0.45

Calls 1

c_strMethod · 0.45

Tested by

no test coverage detected