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

Method tbl_create

lib_acl_cpp/samples/benchmark/sqlite/main.cpp:127–136  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

125 }
126
127 bool tbl_create(acl::db_handle& db, const char* tbl_name) {
128 if (db.tbl_exists(tbl_name)) {
129 return true;
130 }
131 if (db.sql_update(CREATE_TBL) == false) {
132 printf("create table failed\r\n");
133 return false;
134 }
135 return true;
136 }
137};
138
139static void usage(const char* procname) {

Callers

nothing calls this directly

Calls 2

tbl_existsMethod · 0.45
sql_updateMethod · 0.45

Tested by

no test coverage detected