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

Function create_db

lib_acl_cpp/samples/db_service/db_service.cpp:84–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82}
83
84static bool create_db(void)
85{
86 acl::db_sqlite db(__dbfile);
87
88 if (db.open() == false)
89 {
90 printf("open dbfile: %s error\r\n", __dbfile.c_str());
91 return (false);
92 }
93 db.show_conf();
94 return (tbl_create(db));
95}
96
97int main(void)
98{

Callers 1

mainFunction · 0.70

Calls 4

show_confMethod · 0.80
tbl_createFunction · 0.70
openMethod · 0.45
c_strMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…