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

Function tbl_create

lib_acl_cpp/samples/mysql/mysql.cpp:25–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23static const char* __pre = "���";
24
25static bool tbl_create(acl::db_handle& db)
26{
27 if (db.tbl_exists("group_tbl")) {
28 printf("table exist\r\n");
29 return true;
30 } else if (db.sql_update(CREATE_TBL) == false) {
31 printf("sql error\r\n");
32 return false;
33 } else {
34 printf("create table ok\r\n");
35 return true;
36 }
37}
38
39// ���ӱ�����
40static bool tbl_insert(acl::db_handle& db, int n)

Callers 2

mainFunction · 0.70
runMethod · 0.50

Calls 2

tbl_existsMethod · 0.45
sql_updateMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…