20typedef std::unique_ptr<sqlite3, CSqliteDeleter>
CSqlite;
21typedef std::unique_ptr<sqlite3_stmt, CSqliteStmtDeleter>
CSqliteStmt;
24#define SQLITE_HANDLE_ERROR(x) SqliteHandleError(pConsole, x, &*pSqlite, #x)
void operator()(sqlite3 *pSqlite)
Definition: sqlite.cpp:7
void operator()(sqlite3_stmt *pStmt)
Definition: sqlite.cpp:12
std::unique_ptr< sqlite3, CSqliteDeleter > CSqlite
Definition: sqlite.h:20
int SqliteHandleError(IConsole *pConsole, int Error, sqlite3 *pSqlite, const char *pContext)
Definition: sqlite.cpp:17
CSqliteStmt SqlitePrepare(IConsole *pConsole, sqlite3 *pSqlite, const char *pStatement)
Definition: sqlite.cpp:52
CSqlite SqliteOpen(IConsole *pConsole, IStorage *pStorage, const char *pPath)
Definition: sqlite.cpp:28
std::unique_ptr< sqlite3_stmt, CSqliteStmtDeleter > CSqliteStmt
Definition: sqlite.h:21