| 23 | static const char* __pre = "���"; |
| 24 | |
| 25 | static 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 | // ���ӱ����� |
| 40 | static bool tbl_insert(acl::db_handle& db, int n) |
no test coverage detected
searching dependent graphs…