| 383 | |
| 384 | public: |
| 385 | Statement(SQLiteDB& db, const char* sql) : db(db), stmt(nullptr) { |
| 386 | db.checkError("prepare", sqlite3_prepare_v2(db.db, sql, -1, &stmt, nullptr)); |
| 387 | } |
| 388 | ~Statement() { |
| 389 | try { |
| 390 | db.checkError("finalize", sqlite3_finalize(stmt)); |
nothing calls this directly
no test coverage detected