| 20 | ")"; |
| 21 | |
| 22 | static bool tbl_create(acl::db_handle& db) |
| 23 | { |
| 24 | if (db.tbl_exists("group_tbl")) |
| 25 | { |
| 26 | printf("table exist\r\n"); |
| 27 | return (true); |
| 28 | } |
| 29 | else if (db.sql_update(CREATE_TBL) == false) |
| 30 | { |
| 31 | printf("sql error\r\n"); |
| 32 | return (false); |
| 33 | } |
| 34 | else |
| 35 | { |
| 36 | printf("create table ok\r\n"); |
| 37 | return (true); |
| 38 | } |
| 39 | } |
| 40 | |
| 41 | // ���ӱ����� |
| 42 | static bool tbl_insert(acl::db_handle& db, int n) |
no test coverage detected
searching dependent graphs…