| 66 | ")"; |
| 67 | |
| 68 | static bool tbl_create(acl::db_handle& db) |
| 69 | { |
| 70 | if (db.tbl_exists("group_tbl")) |
| 71 | return (true); |
| 72 | if (db.sql_update(CREATE_TBL) == false) |
| 73 | { |
| 74 | printf("sql error\r\n"); |
| 75 | return (false); |
| 76 | } |
| 77 | else |
| 78 | { |
| 79 | printf("create table ok\r\n"); |
| 80 | return (true); |
| 81 | } |
| 82 | } |
| 83 | |
| 84 | static bool create_db(void) |
| 85 | { |
no test coverage detected
searching dependent graphs…