| 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 | |
| 139 | static void usage(const char* procname) { |
nothing calls this directly
no test coverage detected