| 398 | } |
| 399 | |
| 400 | static void db_sqlite3_close(struct db *db) |
| 401 | { |
| 402 | struct db_sqlite3 *wrapper = (struct db_sqlite3 *) db->conn; |
| 403 | |
| 404 | if (wrapper->backup_conn) |
| 405 | sqlite3_close(wrapper->backup_conn); |
| 406 | sqlite3_close(wrapper->conn); |
| 407 | |
| 408 | db->conn = tal_free(db->conn); |
| 409 | } |
| 410 | |
| 411 | static u64 db_sqlite3_last_insert_id(struct db_stmt *stmt) |
| 412 | { |
nothing calls this directly
no test coverage detected